publishing

Publishing Problems

I have an ASP.NET web project that works perfectly on my computer. However, when I publish to the remote server, it crashes. The only page I see is the main startup page. If I click on any link I get an error page. The error page tells me that it can't tell me what the error is (for security reasons), and that I should set customError mo...

data context SubmitChanges() exit's code without exception - deployed .net mvc on iis5.1

I have just deployed my first application in .NET MVC and i'm having issues. I have resolved the iis 5.1 problems with the routing (If anyone is looking for this go here: http://itscommonsensestupid.blogspot.com/2008/11/deploy-aspnet-mvc-app-on-windows-xp-iis.html ) **Now my issue is that wherever I call db.SubmitChanges() on my data ...

When publishing an ASP.NET application, should I change the build type to Release in the Visual Studio Configuration Manager?

For my production sites I usually change the "debug" flag in the Web.Config to "false". But I always publish my sites with the Configuration Manager set to "Debug". Should I change this setting too? ...

How to make sure we publish production to the prod server and test to the test server

I have an entry in my Web.Config file that indicates which environment I am in for connection strings and junk: <add key="AppEnv" value ="2" /> <!--(0 = Dev, 1 = test, 2 = prod)--> I am looking for a way to alert the developer, at the time of publishing, to make sure they have checked this key/value so that they don't publish the 'tes...

ClickOnce deployment for restricted users

From firsthand experience, it appears that ClickOnce only installs for the current user, and there is no option to install for all users. This is a problem because some users within the company need to use ClickOnce applications but do not have permissions to install applications (for security reasons). So far, the only solution we hav...

Views does not open in live MVC application

After I published my application none of links works in web site except default.aspx. When I clicked them "page not found" is shown. I guess, it is about routing. But I did not do any change on default mvc routing settings. What could cause this kind of thing? Thanks. ...

Strong Signed Assemblies

I have a project I made in Visual Basic 2008 Express. I converted it from someone else's C# project, but it works. It has several DLL dependencies. I went to publish my project so I can install it on another machine and for each DLL, I get an error: "Assembly must be strong signed in order to be marked as a prerequisite." I've done some ...

publishing SQL 2005 Database to Remote Host

Hi, I've made an ASP.NET 2.0 website and it uses two databases namely aspnetdb and my_db.I ran the aspnet_regsql.exe -E -S localhost -A mr tool and I got the aspnetdb.mdf in my project.I used it for providing login features to my site. Now i want to publish the site to a remote hosting server which I've purchased. They have provided me ...

ASP.Net Error Code 128

Hello, I have a ASP.Net Application which runs fine on my development machine, however, when publishing to server, I get this error Compiler Error Message: The compiler failed with error code 128. I don't know why can this be happening I think it can be related to cached dll's on server, is there any way to clear this cache? Whatev...

Final step in silverlight 2

I have been working on multiple silverlight applications, but up to this point they have only been running in my system when I test them from Visual Studio. Now that I am getting ready to push it out I cannot figure out the steps to accomplishing it. ...

ASP.NET MVC Why doesn't my routing work after publish?

Hi, i've got the following routeMaps setup for my website. Running and debugging locally works perfectly. I can publish the website to my server (www) but only the root page works (http://www.domain.com). As soon as I specify a controller (http://www.domain.com/Project) it stops working... What am i doing wrong? Global.asax.vb ' Note...

Visual Studio 'Publish' command fails

I'm working on a moderately sized WebForms project. Due to the peculiarities of management here, I have to upload the site to a remote server in order to test (no localhost testing). I'm using the 'Publish' command in Visual Studio 2008. Sometimes, it even works. Most of the time, I inexplicably get a "publish failed" in the bottom left ...

Should I try to publish a book or write a blog?

I've got an idea for a book, and I think I could flesh out about 200-300 pages including code examples. I'd like to give back to the community from which I've gleaned so much information over the last couple of years, and I'd like to make a small amount of money to cover the free time I spend writing. I'm trying to decide whether I shou...

What are the best practices for permissions on a publishing site within MOSS 2007 Standard?

Here's the scenareio: I have a single site collection, with the publishing infrastucture feature activated. Seveal levels below this I have a publishing site with the publishing features turned on. I also have unique permissions for this site. The problem is that no one except site collection administrators can "Create Page". I have ...

Global resources can't be resolved after publishing Website in VS2008

Hi there I have a web-project running in VS 2008. We have some global resource files (*.resx) in the App_GlobalResources folder for internationalisation. All this works like a charm on my local IIS installation out of VS. But when I publish my web-project to the local filesystem and/or another server, all the resources can no longer be...

How do I move diagrams between SQL Server databases?

I'm trying to move a database from a hosted server to my own SQLExpress instance. I used the Database Publishing Wizard to create the script... but the diagrams were not transferred. Then, I found and followed the advice of another answer on this site that had me import/export the data to the sysdiagrams table. When I do that, I see...

How to publish to server using aspnet compiler

Currenlty I am trying to publish usinf aspnet compiler using a batch file start /b C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -p "C:\cc\titr\code\" TargetPath="C:\cc\titr\code\deploy\" Force="true" Debug="true" Giving me error 1010 file path not valid. Any idea where I am doing wrong. as the paths are correct ...

Strange Problem with asp.net website

Hi I've built an asp website and i have the following issues:- i'm using a master page in it and have defined two contentplaceholders one in head one in content, and i've specified the page title in the top most directive at the @page directive but the page title doesn't show up. I have to manually add a tag for it. Secondly when i cr...

Compiling views when publishing asp.net mvc project

Is is possible to compile asp.net mvc views into one assemply when publishing web project? ...

problem in Silverlight publish

I have a silverlight 2.0 object on content of masterpage. i see it on local but can't see on the host after publishing. according to Microsoft blog i add 2 MIME type of xaml and xap but silverlight object doesn't appear. i can't see the content of silverlight object but i can configure silverlight by right click. please guide me. ...