I created a Web Application Project in VS 2005.
The site is working fine in the development computer.
Then I transfer all my files and dll to the production computer.
I have a login form. If I try to log in, the production computer
automatically generates an App_Data folder (the development computer
doesn't have this folder at all) and it also generates an error saying
that I don't have SQL Server 2005, which of course I don't, I'm not
using it in any way.
The error I get is:
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that under the default settings SQL Server does not allow remote
connections. (provider: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)
So my questions are, why does the production site generates the
App_Data folder and why does the site looks for SQL Server 2005?
Thanks 4 2422
Hi Hugo,
Is there anything in your web.config or in your code that uses Profiles,
Roles, or Membership? ASP.NET will try to create the ASPNETDB.mdf database
for you when it encounters code that requires it. That database goes into
the App_Data folder. http://msdn2.microsoft.com/en-us/lib...embership.aspx
Ken
Microsoft MVP [ASP.NET]
"Hugo Flores" <hu*********@ge .comwrote in message
news:11******** *************@m 79g2000cwm.goog legroups.com...
>I created a Web Application Project in VS 2005.
The site is working fine in the development computer.
Then I transfer all my files and dll to the production computer.
I have a login form. If I try to log in, the production computer
automatically generates an App_Data folder (the development computer
doesn't have this folder at all) and it also generates an error saying
that I don't have SQL Server 2005, which of course I don't, I'm not
using it in any way.
The error I get is:
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that under the default settings SQL Server does not allow remote
connections. (provider: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)
So my questions are, why does the production site generates the
App_Data folder and why does the site looks for SQL Server 2005?
Thanks
No, I'm not using profiles at all, nothing on my web.config that has
anything to do with that.
Now, I've also checked that this only happens if my login fails.
I also have the new Login control, would that be causing the problem?
Do you think if I remove the Login control and use my own login form,
would solve the problem?
Ken Cox [Microsoft MVP] wrote:
Hi Hugo,
Is there anything in your web.config or in your code that uses Profiles,
Roles, or Membership? ASP.NET will try to create the ASPNETDB.mdf database
for you when it encounters code that requires it. That database goes into
the App_Data folder.
http://msdn2.microsoft.com/en-us/lib...embership.aspx
Ken
Microsoft MVP [ASP.NET]
"Hugo Flores" <hu*********@ge .comwrote in message
news:11******** *************@m 79g2000cwm.goog legroups.com...
I created a Web Application Project in VS 2005.
The site is working fine in the development computer.
Then I transfer all my files and dll to the production computer.
I have a login form. If I try to log in, the production computer
automatically generates an App_Data folder (the development computer
doesn't have this folder at all) and it also generates an error saying
that I don't have SQL Server 2005, which of course I don't, I'm not
using it in any way.
The error I get is:
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that under the default settings SQL Server does not allow remote
connections. (provider: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)
So my questions are, why does the production site generates the
App_Data folder and why does the site looks for SQL Server 2005?
Thanks
Hi Hugo,
Yes, the Login control is almost certainly causing ASP.NET to implement the
Membership system:
"If you use login controls, they will automatically use the membership
system to validate a user." http://msdn2.microsoft.com/en-us/library/yh26yfzy.aspx
Try implementing your own and see what happens?
Ken
Microsoft MVP [ASP.NET]
"Hugo Flores" <hu*********@ge .comwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
No, I'm not using profiles at all, nothing on my web.config that has
anything to do with that.
Now, I've also checked that this only happens if my login fails.
I also have the new Login control, would that be causing the problem?
Do you think if I remove the Login control and use my own login form,
would solve the problem?
Ken Cox [Microsoft MVP] wrote:
>Hi Hugo,
Is there anything in your web.config or in your code that uses Profiles, Roles, or Membership? ASP.NET will try to create the ASPNETDB.mdf database for you when it encounters code that requires it. That database goes into the App_Data folder.
http://msdn2.microsoft.com/en-us/lib...embership.aspx
Ken Microsoft MVP [ASP.NET]
"Hugo Flores" <hu*********@ge .comwrote in message news:11******* **************@ m79g2000cwm.goo glegroups.com.. .
>I created a Web Application Project in VS 2005.
The site is working fine in the development computer.
Then I transfer all my files and dll to the production computer.
I have a login form. If I try to log in, the production computer
automatically generates an App_Data folder (the development computer
doesn't have this folder at all) and it also generates an error saying
that I don't have SQL Server 2005, which of course I don't, I'm not
using it in any way.
The error I get is:
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that under the default settings SQL Server does not allow remote
connections. (provider: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)
So my questions are, why does the production site generates the
App_Data folder and why does the site looks for SQL Server 2005?
Thanks
Yep,
Implementing my own login, solved the problem, thank you very much
Ken Cox [Microsoft MVP] wrote:
Hi Hugo,
Yes, the Login control is almost certainly causing ASP.NET to implement the
Membership system:
"If you use login controls, they will automatically use the membership
system to validate a user."
http://msdn2.microsoft.com/en-us/library/yh26yfzy.aspx
Try implementing your own and see what happens?
Ken
Microsoft MVP [ASP.NET]
"Hugo Flores" <hu*********@ge .comwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
No, I'm not using profiles at all, nothing on my web.config that has
anything to do with that.
Now, I've also checked that this only happens if my login fails.
I also have the new Login control, would that be causing the problem?
Do you think if I remove the Login control and use my own login form,
would solve the problem?
Ken Cox [Microsoft MVP] wrote:
Hi Hugo,
Is there anything in your web.config or in your code that uses Profiles,
Roles, or Membership? ASP.NET will try to create the ASPNETDB.mdf
database
for you when it encounters code that requires it. That database goes into
the App_Data folder.
http://msdn2.microsoft.com/en-us/lib...embership.aspx
Ken
Microsoft MVP [ASP.NET]
"Hugo Flores" <hu*********@ge .comwrote in message
news:11******** *************@m 79g2000cwm.goog legroups.com...
I created a Web Application Project in VS 2005.
The site is working fine in the development computer.
Then I transfer all my files and dll to the production computer.
I have a login form. If I try to log in, the production computer
automatically generates an App_Data folder (the development computer
doesn't have this folder at all) and it also generates an error saying
that I don't have SQL Server 2005, which of course I don't, I'm not
using it in any way.
The error I get is:
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that under the default settings SQL Server does not allow remote
connections. (provider: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)
So my questions are, why does the production site generates the
App_Data folder and why does the site looks for SQL Server 2005?
Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: paps |
last post by:
hi i've a file system web site with a SQL Express DB stored in the APP_Data
folder and created with the aspnet_regsql utility.
On mu local machine every thing work but when i publish the site to a remote
webserver on IIS i recive some errors (when i call the default page) :
1) ASPNET (user) cannot access to the Sql Express DB in the App_Data folder
2) if i give the permission to the ASPNET user (on the remote machine) i
cannot authenticate...
|
by: CharlesA |
last post by:
hi folks
I'm working on reverse engineering TheBeerHouse by Marco Bellinaso which
appears to have 100% unanimous approval on Amazon.
I got the book and downloaded the code and I opened the solution.
in his readme.txt he recommends that you move the database files he gives
you in the App_data folder (called oddly aspnet.mdf and aspnet_log.mdf) and
then attach them using sp_attach and rename them
I renamed these TheBeerHouse (mdf and ldf)...
|
by: Artificer |
last post by:
Why by simply having a .mdf file in the app_data folder it is made
accessible? Does placing a .mdf in the app_data folder does some kind
of attachment? Do this pseudo attachment works only with the express
version of SQL Server? Do this feature works for access databases?
|
by: Artificer |
last post by:
Why by simply having a .mdf file in the app_data folder it is made
accessible? Does placing a .mdf in the app_data folder does some kind
of attachment? Do this pseudo attachment works only with the express
version of SQL Server? Do this feature works for access databases?
|
by: wwwmike |
last post by:
I have an asp.net 2.0 application where I move about 200,000 text files
daily in and out.
When using VS 2005 to debug my application everything works find if
only a few files are in the folder. (The folder is locaed within the
project file). Yesterday I did a stress test were I placed 200,000
files into this folder. As a result I took me about 15 mintues to start
VS 2005 and I was not able to start debugging since the asp.net
compiler...
| |
by: Brad Isaacs |
last post by:
I am working with ASP.NET 2.0 and using an SQL Server 2000 database.
I am using Visual Studio 2005 and developing on my Local machine. I am
working with Login controls ASP.Configuration, I wanted to move my work
and needed to place it on the server.
Using VS 2005 , went to BUILD
-Publish Web Site
Checked the box for :: Alow this precompiled site to be updatable.
|
by: PinkBishop |
last post by:
Question regarding the ASP.NET 2.O Membership / Role component
The following works fine on local machine and networked dev box.
ASP.NET Membership protecting files and folders.
I am trying to run the Membership component.
I have loaded to production where host is running Win2k Server, IIS 5,
ASP.NET 2.0, SQL Express
|
by: Agos |
last post by:
I developed my first web site using Visual studio 2005.
It works very well with Visual Studio. But after I published the web site in
a file system folder in my PC using
the instructions I found in Visual studio help Walkthrough: Publishing a Web
Site, I can navigate the web forms
except the ones with connections (using Gridview, details view) to the
database (SQL Server 2005).
What didn't I do?
|
by: =?Utf-8?B?RGF2ZQ==?= |
last post by:
Is it always necessary to upload to the host, the App_Data folder if my db
does not reside in that folder?
--
L. A. Jones
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |