|
Home > Archive > Microsoft Content Management Server > September 2006 > Error from MCMS to VS.NET
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Error from MCMS to VS.NET
|
|
| bhprogrammer8 2006-09-12, 1:21 pm |
| Hi Sefan and all.
For one year, I have been developing on a development server. I have one
CMS site at localhost:2363/name of site. I work on it regularly and is
working great. I have a second CMS site that has a separate IIS entry
www.sitename.com, it has an IP address and resolves to port 80. This site
has never given me a problem before now. This week, the development team
made huge changes, channel structure and design and all. So, I sent all of
the old channels to the deleted bin (they are still there) and added new
channels. I used the original MCMS templates, and pointed them to new aspx
pages for design reasons, keeping all of the placeholders defined as is.
The last couple of days I can't open the project in vs.net as the url
wouldn't resolve and find that our network people made a dns change i was
unaware of. that has been fixed, the project opens, and I am working.
However, I cannot connect to an ASPX page through my MCMS explorer. I can
add and edit pages in the browser, but my .net/mcms environment is all
screwed up. What do you suggest? I can start over with templates and aspx
pages, or does something simply need remapped somewhere?
Please help if you can.
thanks.
| |
| Stefan [MSFT] 2006-09-12, 1:21 pm |
| Hi,
some more details would be helpful. What kind of error message do you get
when you are trying to open the project?
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"bhprogrammer8" <bhprogrammer8@discussions.microsoft.com> wrote in message
news:28498C10-EB19-430F-BCF6-90A6BDC222C3@microsoft.com...
> Hi Sefan and all.
>
> For one year, I have been developing on a development server. I have one
> CMS site at localhost:2363/name of site. I work on it regularly and is
> working great. I have a second CMS site that has a separate IIS entry
> www.sitename.com, it has an IP address and resolves to port 80. This
> site
> has never given me a problem before now. This week, the development team
> made huge changes, channel structure and design and all. So, I sent all of
> the old channels to the deleted bin (they are still there) and added new
> channels. I used the original MCMS templates, and pointed them to new
> aspx
> pages for design reasons, keeping all of the placeholders defined as is.
> The last couple of days I can't open the project in vs.net as the url
> wouldn't resolve and find that our network people made a dns change i was
> unaware of. that has been fixed, the project opens, and I am working.
> However, I cannot connect to an ASPX page through my MCMS explorer. I can
> add and edit pages in the browser, but my .net/mcms environment is all
> screwed up. What do you suggest? I can start over with templates and
> aspx
> pages, or does something simply need remapped somewhere?
> Please help if you can.
> thanks.
| |
| bhprogrammer8 2006-09-12, 1:21 pm |
| Hi Stefan,
The error message I was getting was "..cannot resolve
'http://www.sitename.com'.." That issue has been resolved. The machine was
not pointing to the correct DNS server, after a network change. So, now I
can open the project perfectly in VS.NET. I can also develop, build with no
errors, add MCMS templates, bind to placeholders, and even add pages in
Editing mode from my browser. But there is definitely some "connection"
problem in my setup. WHen I am in MCMS template explorer with new and
existing templates, I can't RIGHT CLICK >> OPEN TEMPLATE FILE. I get the
following error:
Error message:
Could not open MCMS Template file from location
'/Templates/ThreeWideLav.aspx'.
Time at which error occurred:
9/12/2006 11:35:33 AM
Exception type:
Microsoft.ContentManagement.DeveloperTools.VisualStudio.VisualStudioException
Machine on which error occurred:
MYSERVERNAME
Error source:
Microsoft.ContentManagement.DeveloperTools.VisualStudio
Error stack trace:
at
Microsoft.ContentManagement.DeveloperTools.VisualStudio.Documents.TemplateExplorerDocument. TemplateExplorerTree_OpenTemplate(Object
target, OpenTemplateEventArgs args)
at
Microsoft.ContentManagement.DeveloperTools.ToolControls.TemplateGalleryExplorer.OnOpenTemplate()
at
Microsoft.ContentManagement.DeveloperTools.ToolControls.TemplateGalleryExplorer.m_menuItemOpenTemplate_Click(Object sender, EventArgs e)
Error AppDomain:
DefaultDomain
Error thread ID:
2380
Error message:
The parameter is incorrect.
Time at which error occurred:
9/12/2006 11:35:33 AM
Exception type:
System.ArgumentException
Machine on which error occurred:
MYSERVERNAME
Error source:
EnvDTE
Error stack trace:
at EnvDTE.ItemOperations.OpenFile(String FileName, String ViewKind)
at
Microsoft.ContentManagement.DeveloperTools.VisualStudio.Documents.TemplateExplorerDocument.PreviewCmsTemplateFile(String templateFileVirtualPath)
at
Microsoft.ContentManagement.DeveloperTools.VisualStudio.Documents.TemplateExplorerDocument. TemplateExplorerTree_OpenTemplate(Object
target, OpenTemplateEventArgs args)
Error AppDomain:
DefaultDomain
Error thread ID:
2380
Thanks again.
Beth
"Stefan [MSFT]" wrote:
> Hi,
>
> some more details would be helpful. What kind of error message do you get
> when you are trying to open the project?
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "bhprogrammer8" <bhprogrammer8@discussions.microsoft.com> wrote in message
> news:28498C10-EB19-430F-BCF6-90A6BDC222C3@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-09-16, 1:34 pm |
| Hi,
sounds as if the template files are now on a different IIS website.
If the website changes you need to adjust the InstanceID inside the
DeveloperTools.xml file to reflect the instance ID of the new website.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"bhprogrammer8" <bhprogrammer8@discussions.microsoft.com> wrote in message
news:D119429C-45EE-40FD-9312-68637838BF0B@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> The error message I was getting was "..cannot resolve
> 'http://www.sitename.com'.." That issue has been resolved. The machine
> was
> not pointing to the correct DNS server, after a network change. So, now I
> can open the project perfectly in VS.NET. I can also develop, build with
> no
> errors, add MCMS templates, bind to placeholders, and even add pages in
> Editing mode from my browser. But there is definitely some "connection"
> problem in my setup. WHen I am in MCMS template explorer with new and
> existing templates, I can't RIGHT CLICK >> OPEN TEMPLATE FILE. I get the
> following error:
>
> Error message:
> Could not open MCMS Template file from location
> '/Templates/ThreeWideLav.aspx'.
>
> Time at which error occurred:
> 9/12/2006 11:35:33 AM
>
> Exception type:
> Microsoft.ContentManagement.DeveloperTools.VisualStudio.VisualStudioException
>
> Machine on which error occurred:
> MYSERVERNAME
>
> Error source:
> Microsoft.ContentManagement.DeveloperTools.VisualStudio
>
> Error stack trace:
> at
> Microsoft.ContentManagement.DeveloperTools.VisualStudio.Documents.TemplateExplorerDocument. TemplateExplorerTree_OpenTemplate(Object
> target, OpenTemplateEventArgs args)
> at
> Microsoft.ContentManagement.DeveloperTools.ToolControls.TemplateGalleryExplorer.OnOpenTemplate()
> at
> Microsoft.ContentManagement.DeveloperTools.ToolControls.TemplateGalleryExplorer.m_menuItemOpenTemplate_Click(Object
> sender, EventArgs e)
>
> Error AppDomain:
> DefaultDomain
>
> Error thread ID:
> 2380
>
> Error message:
> The parameter is incorrect.
>
> Time at which error occurred:
> 9/12/2006 11:35:33 AM
>
> Exception type:
> System.ArgumentException
>
> Machine on which error occurred:
> MYSERVERNAME
>
> Error source:
> EnvDTE
>
> Error stack trace:
> at EnvDTE.ItemOperations.OpenFile(String FileName, String ViewKind)
> at
> Microsoft.ContentManagement.DeveloperTools.VisualStudio.Documents.TemplateExplorerDocument.PreviewCmsTemplateFile(String
> templateFileVirtualPath)
> at
> Microsoft.ContentManagement.DeveloperTools.VisualStudio.Documents.TemplateExplorerDocument. TemplateExplorerTree_OpenTemplate(Object
> target, OpenTemplateEventArgs args)
>
> Error AppDomain:
> DefaultDomain
>
> Error thread ID:
> 2380
>
> Thanks again.
> Beth
>
> "Stefan [MSFT]" wrote:
>
| |
| bhprogrammer8 2006-09-16, 1:34 pm |
| Hi Stefan,
I don't understand. What I see in that file is
<CmsEnvironment>
<Server BaseUrl="http://localhost" InstanceId="1" />
<Template QueryString="" />
</CmsEnvironment>
Having never looked at that file before, if it changed, I wouldn't know what
it was. Following other's posts, I found the following:
Entry Points
I have no idea what those numbers are. But, I know that whatever I do must
not interfere with first MCMS site on this server. It runs at localhost:2363
and is mid-development with a huge project. This second one giving me all
the grief is less important, but still needs fixed.
How are you suggesting I change the DeveloperTools.xml file given the info
above?
Thanks.
"Stefan [MSFT]" wrote:
[vbcol=seagreen]
> Hi,
>
> sounds as if the template files are now on a different IIS website.
> If the website changes you need to adjust the InstanceID inside the
> DeveloperTools.xml file to reflect the instance ID of the new website.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "bhprogrammer8" <bhprogrammer8@discussions.microsoft.com> wrote in message
> news:D119429C-45EE-40FD-9312-68637838BF0B@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-09-16, 1:34 pm |
| Hi,
which of the 4 entry points below is the website you are coding against?
You can see this here:
- open the Internet Information Services Manager MMC
- right click on the website and open the properties page
- click the "properties" button in the Logging section
- check the directory of the log file name. Something like W3SVC1\...
The number is the instance ID of the website.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"bhprogrammer8" <bhprogrammer8@discussions.microsoft.com> wrote in message
news:8A56A7B5-A96C-46A5-9E17-546FBAF27409@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> I don't understand. What I see in that file is
>
> <CmsEnvironment>
> <Server BaseUrl="http://localhost" InstanceId="1" />
> <Template QueryString="" />
> </CmsEnvironment>
>
> Having never looked at that file before, if it changed, I wouldn't know
> what
> it was. Following other's posts, I found the following:
> Entry Points
>
> I have no idea what those numbers are. But, I know that whatever I do
> must
> not interfere with first MCMS site on this server. It runs at
> localhost:2363
> and is mid-development with a huge project. This second one giving me all
> the grief is less important, but still needs fixed.
> How are you suggesting I change the DeveloperTools.xml file given the info
> above?
> Thanks.
>
> "Stefan [MSFT]" wrote:
>
| |
| bhprogrammer8 2006-09-16, 1:34 pm |
| Hi Stefan, it is the 1518586760 entry. Are you suggesting I change the
InstanceID in the xml file to that number? And if I do will it make the
other site stop working? It's entry is the 1157216074 entry. If so, maybe I
should just start over with a new MCMS site, by adding it to the 1157216074
IIS entry as a virtual directory?
Thanks,
Beth
"Stefan [MSFT]" wrote:
> Hi,
>
> which of the 4 entry points below is the website you are coding against?
> You can see this here:
> - open the Internet Information Services Manager MMC
> - right click on the website and open the properties page
> - click the "properties" button in the Logging section
> - check the directory of the log file name. Something like W3SVC1\...
> The number is the instance ID of the website.
>
> Cheers,
> Stefan
>
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "bhprogrammer8" <bhprogrammer8@discussions.microsoft.com> wrote in message
> news:8A56A7B5-A96C-46A5-9E17-546FBAF27409@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-09-16, 1:34 pm |
| Hi Beth,
yes that is what you have to do.
It will not stop the other site.
This setting is only for VS.NET. VS.NET can only work against one website
which is configured this way.
Btw: you also have to ensure that all other sites are running on a different
port.
Only one site must run on the port VS.NET uses.
See here for details:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#AF0A8BBF-1488-450F-ADD1-E555312ADEC9
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"bhprogrammer8" <bhprogrammer8@discussions.microsoft.com> wrote in message
news:22EE8CEF-4C53-43D9-916A-CFBBD9F8DC77@microsoft.com...[vbcol=seagreen]
> Hi Stefan, it is the 1518586760 entry. Are you suggesting I change the
> InstanceID in the xml file to that number? And if I do will it make the
> other site stop working? It's entry is the 1157216074 entry. If so,
> maybe I
> should just start over with a new MCMS site, by adding it to the
> 1157216074
> IIS entry as a virtual directory?
> Thanks,
> Beth
>
> "Stefan [MSFT]" wrote:
>
| |
| bhprogrammer8 2006-09-16, 1:34 pm |
| Stefan,
I made that change and i still have the same problem. The original site at
localhost:2363/sitename works fine still, but the second site is still not
able to get the templates. The error I get that I mentioned below, what FILE
is missing? Is it referring to Postings that I deleted? Or ASPX files that
can't be found? Or Channel items? I'm not sure what the problem is, because
other than some postings, i deleted, everthing is still in the proper
directories.
Any more suggestions? Should I go back to the book and set up a new MCMS
site for this web?
"Stefan [MSFT]" wrote:
Thanks again,
Beth
> Hi Beth,
>
> yes that is what you have to do.
> It will not stop the other site.
> This setting is only for VS.NET. VS.NET can only work against one website
> which is configured this way.
> Btw: you also have to ensure that all other sites are running on a different
> port.
> Only one site must run on the port VS.NET uses.
> See here for details:
> http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#AF0A8BBF-1488-450F-ADD1-E555312ADEC9
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "bhprogrammer8" <bhprogrammer8@discussions.microsoft.com> wrote in message
> news:22EE8CEF-4C53-43D9-916A-CFBBD9F8DC77@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-09-18, 7:26 am |
| Hi Beth,
are you talking about the error in VS.NET?
As I mentioned: it is impossible to work against two different websites in
VS.NET.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"bhprogrammer8" <bhprogrammer8@discussions.microsoft.com> wrote in message
news:3544803C-AFC0-4052-A7EA-E470709E46AA@microsoft.com...[vbcol=seagreen]
> Stefan,
> I made that change and i still have the same problem. The original site
> at
> localhost:2363/sitename works fine still, but the second site is still not
> able to get the templates. The error I get that I mentioned below, what
> FILE
> is missing? Is it referring to Postings that I deleted? Or ASPX files
> that
> can't be found? Or Channel items? I'm not sure what the problem is,
> because
> other than some postings, i deleted, everthing is still in the proper
> directories.
> Any more suggestions? Should I go back to the book and set up a new MCMS
> site for this web?
> "Stefan [MSFT]" wrote:
>
> Thanks again,
> Beth
|
|
|
|
|