 |
|
 |
Hi,
I have implemented step by step and I get the following error.
Parser Error: Could not find a part of the path "C:\cmspub\HRPAO.CMS\WebAuthor\Controls\DialogTitle.ascx".
Here is the full error:
System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\cmspub\HRPAO.CMS\WebAuthor\Controls\DialogTitle.ascx".
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.Web.UI.Util.ReaderFromFile(String filename, HttpContext context, String configPath)
at System.Web.UI.TemplateParser.ParseFile(String filename, String virtualPath)
at System.Web.UI.TemplateParser.Parse()
at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound)
at System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
at System.Web.UI.TemplateControlParser.GetReferencedType(TemplateControlParser parser, String virtualPath)
at System.Web.UI.TemplateControlParser.GetUserControlType(String virtualPath)
at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.TemplateParser.ParseStringInternal(String text)
at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir)
Thanks for any help.
John Haigh
|
|
|
|
 |
|
 |
I forgot to mention this happens when I goto the Approval Assistant Dialog.
|
|
|
|
 |
|
 |
What is your DialogTitle register source value (installation 3a above) ?
|
|
|
|
 |
|
 |
It is:
/HRPAO.CMS/WebAuthor/Controls/DialogTitle.ascx
|
|
|
|
 |
|
 |
There is a built-in CMS virtual directory. If your application name is HRPAO.CMS, try changing the value to /HRPAO.CMS/CMS/WebAuthor/Controls/DialogTitle.ascx.
|
|
|
|
 |
|
 |
thanks, that fixed the problem. Guess I didn't follow the instructions.
Thanks,
John
|
|
|
|
 |
|
 |
Hi,
I put the declinereason code to my CMS project (C#). There is a small problem with declining using Approval Assistant. If I select some postings in the Approval Assistant and then click on Decline button, I get an error message
Line: 12
char: 51
Error: Unterminated string constant
Code: 0
URL: href="http://myserver/CmsProject/WebAuthor/Dialogs/DeclineReason/DeclineReasonDlg.aspx?wbc_purpose=Basic&NRMODE=Update&WBCMODE=PresentationUnpublished
If I close the error window It seems to work, the postings are declined. So it is no a critical error, but would be very nice to fix it.
Any ideas will be appreciated
Regards
Kamil
|
|
|
|
 |
|
 |
It seems the problem was that I added the DeclineReasonDlg.js to my C# solution which has set code page 1250. When I checked-in the solution to the SourceSave the code page 1250 was probably set also for the DeclineReasonDlg.js. I also localized text from the DeclineReasonDlg.js to Czech. Since then it didn't work.
So, I set the codepage UTF-8 for the DeclineReasonDlg.js and it seems to work now again.
The purpose of the problem is still not very clear to me, but it works.
Regards
Kamil
|
|
|
|
 |
|
 |
The problem of missing buttons in dialog is due to MCMS SP1a. If you are using MCMS SP1, do not upgrade to V1.1.
|
|
|
|
 |