Last post Apr 12, 2006 04:20 PM by cubeberg
Apr 06, 2006 09:49 PM|IbsNet|LINK
I have Installed Visual studio 2005 Professional Edition to my local computer (OS: XP Prof), I have also asp.net 1.1 installed in it.
Now I am trying to convert one small application from ASP.Net 1.1 to ASP.Net 2.0 with conversion wizard but unfortunately it’s doing nothing I am getting these errors:
Unable to open the Web 'http://localhost/MyProj. Visual Web Developer does not support opening SharePoint Web sites. See Help
for more details.
If some can please help me to find our this issue, I would really appreciate that.
Thanks a lot in advance
Apr 06, 2006 10:22 PM|albertpascual|LINK
That happens when you try to open with 1.1 or 2.0?
As looks like you did not set up the Virtual Directory. However if you want to convert to 2.0 open the project file, not the solution file.
Hope this helps
Apr 07, 2006 04:29 PM|IbsNet|LINK
Apr 07, 2006 04:34 PM|cubeberg|LINK
In the vb file where the classascx is defined, is there a Namespace declaration? If not, you may need to add one to place the class in the ProjName namespace that it's expecting. In 2005, there is no root namespace for a Web Site (all pages and custom
controls are actually under an ASP namespace) as there was in 2003.
Apr 07, 2006 05:30 PM|IbsNet|LINK
Apr 07, 2006 06:06 PM|cubeberg|LINK
I'm not entirely sure if I understand what you're asking. You're talking about namespaces and then referring to logical directories and web addresses. The namespace thing that I'm talking about is in code.
Partial Class _Default
Partial Class _Default
It looks like you're talking about the difference between opening a Web Site from the file system vs local IIS. Could you provide more explanation and the full error you were recieving?
Apr 07, 2006 06:39 PM|IbsNet|LINK
After my project conversion from VS 2002 to VS2005 ,
I got it converted with some of warnings but Project was open with c:/../../Inetpub/wwwroot/Projname insted of
I started getting following errors.
I was getting error that “Global” key word in Global.asax is not valid, so I excluded Globle files from project then it went off.
Then I got error that "Could not load type 'ProjName.Classascx'" in
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Filename.aspx.vb" Inherits="ProjName.classascx"%>
So I tried to import Project namespace to the VB file of that but I could not see that after Import word, I could see like system, Microsoft, me…..
So I thought because project is not open with http:// …. So I tried to change project route in solution file instead of c:/../../ to http://.... Then it denied opening that project with following error
“Unable to open the web http://localhost/project visual studio does not support sharepoint websites.”
althought I have change ASP.net version on virtual directory.
Its really frustrating when nothing works
Thanks for your interested in my problem
Hope your advice may solve my problem
Apr 10, 2006 07:21 AM|C#CodeMaster|LINK
Apr 10, 2006 12:46 PM|cubeberg|LINK
I seriously doubt that's the issue since he installed VS 2005 which won't even run without the 2.0 framework.
Sorry I haven't made any posts over the weekend. So I have a few questions and some places to point you. First of all, there are some very explicit instructions for converting from VS 2003 to 2005. Did you read them carefully and follow all their instructions?
I really wouldn't start fooling with settings in a solution or project file. I'm still not 100% sure if you're running into compile errors now or conversion errors. If you're having conversion errors, I'd read the conversion instructions and make sure you
followed them correctly. If you're getting compile errors, could you post some sample code? The one last place that I'd like to point you towards is the new Web Application Project. You can find Scott Guthrie's post about it here:
http://weblogs.asp.net/scottgu/archive/2006/04/05/442032.aspx. I've seen a couple of places suggest that it may be easier to convert to the 2005 Web Application project from 2003 than
to the 2005 Web Site model.
Apr 10, 2006 04:41 PM|IbsNet|LINK
Apr 10, 2006 06:40 PM|cubeberg|LINK
Could you post the first couple of lines of the code-behind for the custom control?
Apr 10, 2006 07:42 PM|IbsNet|LINK
Thanks for your help now Its working without any error but still I have some unanswered questions.
I can not open project in VS2005 with as a website so, Its open like (Project) (C://../../wwwroot/datavalut” although I want it to open like we use to do in VS2002
And if I tried to open as website with LOCAL IIS option then it gives me error
“Unable to open the web ‘http://localhost/DataVault’ Visual Web Developer does not support opening SharePoint web sites. See help for detail."
Apr 12, 2006 04:20 PM|cubeberg|LINK
I'm glad to hear that your conversion went ok. I tried googling the error message that you're getting, but I couldn't find anything. I have a quick question though, are you using Visual Studio or VWD? And you upgraded to 2005 via the Web Application Project,
not the standard Web Site, correct?