Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Deploy asp.net

Author  Topic 

Hommer
Aged Yak Warrior

808 Posts

Posted - 2005-12-05 : 09:48:19
I built a small calculation utility in C#.net 1.1. It works on my machine. Now I want to deploy it to our intranet. The web server is a window server 2003 std running IIS6(?). However, the current site is written in ColdFusion, so the server is also hosting Macromedia ColdFusion MX 6.1 server.
I have build a link on the menu, pointing to my Calc.aspx, and copy these files
Calc.aspx
Assemblyinfo.cs
Global.asax
Web.config
from my c:\inetpub\wwwroot\MaxSizeCalc\
to a folder on the server.
These are all the files except 5 reference files (system, system.data, system.drawing, system.web, system.xml) which I did not copy. I believe the web server has them by default.
I also did not move .sln.
When I click the link I got "server error in '/' application", and says customError settings prevent it from showing more details.
What did I do wrong? Is this the right way to approach the issue?

Also, FYI, this is my first asp.net deployment, and I have changed the web.config to <customErrors mode="Off"/>, but I still get the same error.


Thanks!

MichaelP
Jedi Yak

2489 Posts

Posted - 2005-12-05 : 11:21:36
Is the directory that you copied the files setup as a Virtual Directory?

Michael

<Yoda>Use the Search page you must. Find the answer you will. Cursors, path to the Dark Side they are. Avoid them, you must. Use Order By NewID() to get a random record you will.</Yoda>
Go to Top of Page

Hommer
Aged Yak Warrior

808 Posts

Posted - 2005-12-05 : 11:37:17
I cannot tell you if it is a virtual directory. I did not set it up specifically, but other folders/directories, including the ones above or below it, are all parts of the same web site.

Do I need to specify the folder I created to be a virtual directory? And how?

Thanks for the reply.
Go to Top of Page

jhermiz

3564 Posts

Posted - 2005-12-05 : 13:05:27
You shouldnt copy and paste a project, there is a copy project to... option right in vs.net



Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]
Go to Top of Page
   

- Advertisement -