modify web forms on a different server.CANT see the DESIGN VIEW!

G

Guest

Hi
I have a website (ASP.NET project using C# ) which is already put up on the
server. I need to make some modification to some web pages.So the project
files were copied to the a different server where I could modify tha pages.

But when I open the .aspx pages with Visual studio.net, then I just see
the HTML code & no design view of the page. How should I edit the page when
in Visual Studio I cant see the design view.

Just in case this is useful....on the server, in the project directory there
are .aspx files but no C# files.But In the HTML code the Codebehind
attribute refers to the .cs file for tha page.

Please help. Its urgent!!!
 
N

Nick Malik

You don't have all of the code.

The files that are on the server, after an install, are only the HTML and
the DLL. The C# files are not copied to the server, so copying files off of
the server will not allow you to modify the site.

You can disassemble the DLLs. You may or may not get useful stuff out of
doing that.

Much better: to back to the original source code. If that has been lost,
then look at disassembling. If that doesn't work... you're toast... start
over.

--- Nick
 
G

Guest

Hi Nick,

Thanks for the reply. But I have a doubt , i.e, if I have to modify the web
pages, what all will I need? I need the original project folder with the C#
files & the solution file & the .csproj file aslo?And then I would open the
..csproj file for the project which will open the project properly so that I
can edit it??

Please reply soon.

Thanks
 
N

Nick Malik

You need the complete source code. The original project folder should
contain it. You would need to open the CSPROJ file (or a solution file that
refers to the CSPROJ file). Then, you would have no difficulty.

--- Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top