Link to home
Start Free TrialLog in
Avatar of sacvb
sacvb

asked on

Can't publish my C# NET 2.0 Web Application

I have built an C# NET 2.0 Web Application which works beautifully on my local IIS. Now, I am trying to deploy it to production server and I am finding things that don't make much sense to me:

1. I choose to publish my project, choose to move only files necessary to run, I select my location, and on the end, in my deployment folder, there is no web.config file, there are any assemblies so I have to chase them on my local IIS and place them into BIN folder. Even if I would manually add web.config and all the dll files, my app wouldn't work. It would tell me that *.aspx.cs files are missing. The only way I could make it work is to copy all files from my development to deployment server. Publish definitely didn't work for me.

2. I don't quite understand what Clean/Build/Rebuild Solution and Build/Rebuild/Clean myApplication do?
Where can I look up these information... or please explain if it can be explained briefly...

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of techExtreme
techExtreme
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sacvb
sacvb

ASKER

On my first question:
I red tutorial and I still don't understand why my web.config file is missing after I publish my project.
Also, nothing is said about other assemblies. Is it normal that I have to collect them (whatever I referenced) and place them in the BIN folder, or publishing process should do that for me?

Thanks
Hello,
Thanks but I would have like it more if the grade was 'A', nevermind. As to your query, yes the publish process should do it for you.