473,408 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

ASP.NET 2.0 - Publishing to Server Problems

I've built a small app based on the Personal web site template and it works
fine on my development machine (within VS2005). When I Publish it to a
Windows Server 2003 machine it *almost* works fine. There are two problems,
one minor and one major:

1.) After publishing to the server I have to go to the server and manually
set the ASP.Net version up to 2.x since it defaults to 1.1.x. [Minor, but a
nuisance].

2.) The SQL2005 database that ends up on the server is Read Only. The web
app can apparently read it, but if it tries to write to it the app crashes
with an error page complaining that the database is Read Only. [Major
Problem!]

3.) None of the accounts created (in the database) on the development
machine work on the Server version. The logins fail, but it is impossible to
create a login using any of the names of accounts created on the development
machine. That tells me that the accounts are there, but don't work. I
*think* this is because (maybe) there's a different application guid on the
server, but don't know. If that's the problem then how do I deploy such an
application without losing all of the data?

Thanks in advance,
Bill

PS - I've tried both Publishing from the VS IDE and running an msi created
in a VS Setup project. Either way I get these problems.
Feb 4 '06 #1
1 1277
Hi Bill,

Thanks for posting!

For the first issue, the version is decided by the setting of the root site
in IIS. If there is no ASP.NET v1.1 application in the root site, I suggest
you set the version to v2.0 for the root site. After next deployment, the
version for the current application will be v2.0.
¡°The SQL2005 database that ends up on the server is Read Only.¡±
I do not understand this issue very clearly. Does this mean that the
account only has the read permission in the SQL Server Database or
something else? Could you please give me some details?
¡°None of the accounts created (in the database) on the development

machine work on the Server version. The logins fail, but it is impossible
to create a login using any of the names of accounts created on the
development machine. That tells me that the accounts are there, but don't
work.¡±

Does that mean you created the same account (I mean these accounts have the
same credential information) both in the development machine and server
machine? If not, could you please give me more detailed steps? This will
help me to understand the current issue clearly. I appreciated your
understanding.

I¡¯m looking forward your reply!

Regards,

Yuan Ren [MSFT]
Microsoft Online Support

Feb 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Brian Henry | last post by:
Is there any problems with writing on IIS6 with ASP.NET and publishing onto IIS5 on W2K with ASP.NET? (like xp pro to 2k server) any compatability problems?
11
by: Brad | last post by:
I am having problems publishing to IIS. I have my static ip address now nad have redirected my domain name to it. Before in using VWD, I just copied the site to IIS and internally useing...
1
by: someone | last post by:
Hi, I've read many articles about publishing and problems with it, but nothing about my problem. I've written a website in VS2005 and it uses the internal webserver. I do that at home at my...
3
by: EqDev | last post by:
Hello I have set up a new windows server 2003 standard edition for training (on new software we have developed) and am having problems publishing webs to it from VS 2005. I have a C# Web...
2
by: DCC700 | last post by:
VS 2005 Converted Header causing error when publishing After converting from Visual Studio 2003 to 2005, I have had several issues with a header that is used throughout the project. The...
1
by: thavaht | last post by:
I recently began drawing dynamic pages using PHP + MYSQL. I’m developing the site on windows XP / Apache 1.3.34 / PHP 5.1.2 as a testing server. My publishing server is on another machine on the...
5
by: rmgalante | last post by:
I've been using the VS2005 Publish utility on one of my projects for about six months. I have a large site with hundreds of files, thousands if you include the code behind files. So I thought...
0
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I have not tried this before. I have been building an ASP.Net 2.0 app for some weeks now and up till now I have not had any problems publishing. I was given a Word doc to include in the app. I...
7
ADezii
by: ADezii | last post by:
There are essentially three techniques for publishing Access Data on the Web. The first technique is static, and does not allow for the dynamic addition or modification to the data, There is no...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.