Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie needs to make a copy of his solution
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00814521
Message ID:
00814959
Views:
8
Hello Cathi

I did end up copying the web pages over to a new project and everything is now working.

I will refer to this thread next time I try to do a copy and hopefully get it right.

I wish Microsoft had provided something to make this easier. I always get this problem with microsoft products, oh well at least we should see an end to dll hell now.

Many thanks for your help

>Hi Mark,
>
>Did you setup the new directory as a virtual directory through IIS? You want to make sure your .sln file has the references pointed to the correct virtual directory.
>
>I don't have any articles to point you to that go over this step-by-step. Another approach you can take is to create a brand new project in VS.NET and the copy the web pages you want into the new directory. That way you have VS.NET take care of all the creation of the virtual directory and the basic files used. Then all you do is copy your specific files that you have created.
>
>>Thanks Cathi
>>
>>I did as you said but now I get the message "Unable to get the project file from the web server"
>>
>>After I got this message I went to the C:\Inetpub\wwwroot\dp6\ folder and looked in it
>>
>>I saw some files still named dp5 so I renamed them as follows but it still made no difference,
>>
>>dp6.vsdisco
>>dp6.vbproj.webinfo
>>dp6.vbproj
>>
>>
>>Do you know of a good step by step walkthru for copying a solution. The Microsoft example does not seem to work.
>>
>>
>>
>>
>>>Hi Mark,
>>>
>>>You are almost there. You need to open up the .sln file in Notepad or an XML parsor and change the url to the new path. That way when you open up the project it will use the new directory.
>>>
>>>>Hello
>>>>
>>>>I need to make a copy of my ASP.Net solution with a new name.
>>>>
>>>>I have tried doing the copy in windows file system as follows my application was called dp5.
>>>>
>>>>
>>>>I copied the folder
>>>>c:\inetpub\wwwrott\dp5 to c:\inetpub\wwwrott\dp6
>>>>
>>>>
>>>>I then copied the folder
>>>>C:\Documents and Settings\markyo\My Documents\Visual Studio Projects\dp5 to C:\Documents and Settings\markyo\My Documents\Visual Studio Projects\dp6
>>>>
>>>>
>>>>I then renamed C:\Documents and Settings\markyo\My Documents\Visual Studio Projects\dp6\dp5.sln to
>>>>dp6.sln
>>>>
>>>>and l also did the same for dp6.suo
>>>>
>>>>
>>>>However when I open dp6 it still references all the documents that are in dp5 :(
>>>>
>>>>
>>>>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform