How To Use SQL Express In A Shared Hosting Environment

May 1, 2006

 

All--

Please help.

I have deployed my site to my shared host and I am getting the following RTE...

An attempt to attach an auto-named database for file... ..App_DataCommerceDB.mdf failed

...and I cannot find the issue.

Note that I have given Full-Permissions on root folder for the IUSR account and for the ASPNET account.

The full error message is below.

Anyway, do you have an suggestions?

My web hosting provider has advertised that they do support SQL Express 2005. What exactly do I need to ask them to do in order to get this working?

Please advise.

Thank you.

--Mark Kamoski

 

Server Error in '/mkamoski/S16' Application.
--------------------------------------------------------------------------------


An attempt to attach an auto-named database for file c:hostingwebhost4lifemembermkamoskiS16App_DataCommerceDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An attempt to attach an auto-named database for file c:hostingwebhost4lifemembermkamoskiS16App_DataCommerceDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

Source Error:

Line 88:  ''' <returns></returns>

Line 89:  Public Shared Function GetCart() As ShoppingCart

Line 90:   Dim rdr As IDataReader = ShoppingCartProvider.Instance.CartGetCurrentCart(GetUserName())

Line 91:   Dim cart As ShoppingCart = New ShoppingCart()

Line 92:   cart.Load(rdr)
 

Source File: c:hostingwebhost4lifemembermkamoskiS16App_CodeBLLShoppingCartManager.vb    Line: 90

View 5 Replies


ADVERTISEMENT

Shared Hosting And Sql Express Issue

Jan 4, 2007

Hi guys, I hope this is the correct place to post this question. 1) My website makes use of the Membership and Roles of asp.net 2. 2) I have uploaded my website to a shared hosting server, which doesn't support sql express (mdf files). It does support mysql, so I used a custom Membership provider for MySql. 3) It worked greate on my local computer, however (!!) it still creates a aspnetbd.mdf file in the AppData folder. 4) Obviously, when I tried to run it on the website, I got an error. My questions: Why my website still creates a aspnetbd.mdf file even if I am not using it anymore for the Membership ? How can I disable it, in order for it to run on a server which does not support it ? Thanks, Itye.

View 1 Replies View Related

SQL Express Not Allowed On Shared Hosting !!!

Jan 16, 2006

I've created a new website using the new Visual Studio 2005 Express edition. This site uses SQL Server Express (free software) as a storage for personalization data, etc. Now I want to deploy my site, but here it ends for me:My web site hoster does not support the SQL Express edition in a shared hosting environment. I think most people have a website running in a 'shared hosting' plan. How can this large group enjoy the new Express line when SQL Server Express is not supported?  "SQL Server Express is not a part of the SPLA SPUR (Services Provider License Agreement)", they all say. Here it ends for me, my ISP and their licence supplier. Even at Microsoft's Response Management Team, 'no' is the answer.
What to do now?  Move on to an expensive 'dedicated hosting' plan? Write a membershipprovider for MySQL?I feel as if I was given a free ticket for a nice journey but there's no traffic possible.
Who can help me out here? What can I do...

View 15 Replies View Related

Sql2005 Express NOT AVAIABLE As Shared Hosting Option?

Nov 24, 2005

I recently come to problem. I want to deploy my web site, which uses SQL2005EE extensively, so I began searching for host, SHARED HOSTING solution. I haven't find one offering SQL2005EE on .NET2.0 final frameworkI have been told that there isn't ONE host which would offer SQL2005EE on Final .NET2.0 shared hosting, that it is illegal! Only if the shared host provided is free, which is insufficient in my needs (free hosts have low trafic/disk space etc).Is it true? If I pay for hosting, I can't have SQL2005EE as an option in their hosting plan? Just SQL2005 full as an option? This way I need to pick up some expensive shared hosting plan?How you ppl solved this problem?

View 6 Replies View Related

Sql Server Express - Shared Hosting - Connection String - What Do You Guys Do?

Feb 2, 2007

Hey,

I have a asp.net 2.0 app that has a sql server express backend. I have been scratching my head for weeks trying to find a good wasy to encrypt my connection string. I store the string in web.config (which in itself is in theory "safe" because it's not servable) and I have scoured the web to try to find a simple way to encrypt the connection string. Even using user store would require running aspreg_iis.exe on the host with a command prompt (which clearly I cannot do). It seems that everyone's solution requires running a command prompt executable on the server.

So I am left to wonder what everyone else does. I am not comfortable using just the web.config because a determined hacker could get to that info. Then again, a determined hacker could get into any system , I guess. There are no credit card #'s stored in this app, but in theory there must be a way. I run all access to the db through stored procedures with permissions, for whatever it's worth.

Thanks in advance!
David

View 3 Replies View Related

Shared Hosting

Feb 16, 2008

Hello

Maybe someone can suggest me some software which can be used for SQL 2005 shared hosting?
With database size limit, user number restriction and other features.

Thank you for information in advance

View 3 Replies View Related

Shared Hosting Sql Server Liscence

Feb 5, 2005

i am getting ready to build the back end for a client server application, using a shared sql server as a back end. microsoft's white pages don't mention shared hosting. i need to know if anyone else has had problems with lisencing in a shared hosting environment. my web host told me i don't need to liscence my users (who will have read write priveledges), but microsoft gave me the impression that i did. anyone know a clear answer?

View 2 Replies View Related

Shared Hosting - Hassle To Backup

Jan 17, 2008

I'm currently on a shared hosting plan which has a SQL Server component to it.

At the moment, I'm on 2000. I have a DTS package that runs locally and does a backup of the remote database and backs that up using sequential file numbering.

I'd like to move to 2005, but I'm not sure quite how to replicate this process. Basically:

- I don't have access to the server as it's shared hosting
- I don't have the credentials for backups and stuff like that
- They only send backups on demand
- They don't perform regular backups on your data
- They won't have the backups saved to my web directory

If I:
- use import/export, which is almost the only thing I know I can use, I can only copy tables and views. I'd like to copy everything (SPs, Functions, ect)

The only thing I can come up with is software that would compare the structure and data and generate T-SQL to copy it over (ie. Apex SQL).

Is this my only hope on SQL 2005?

View 1 Replies View Related

Client Connection To SQL Server On Shared Hosting

Jul 23, 2005

I'd like to do this:Have a SQL Server database hosted on a public facing web server.I want it to be held at an ISP/Web hosting company. Though I have ADSL hereI don't want to manage a server.I want some ASP pages accessing the database.I would also like for a very small number (probably 2) of users to accessthe database from a richer client. Perhaps Access/VB.I've tried using www.shanje.com, as a test. It seems to work, though thereare worries about security.I want to keep cost down!On 'normal' shared MS hosting, would it be possible to connect to the dbfrom a client like Access. The way most web hosts talk it doesn't look likeit.Is there any way of providing a richer client interface than plain webpages? I want things like autocomplete (beyond the first character) for dropdowns, keyboard shortcuts etc.This would be low volume. Essentially a private database held on theinternet.Yours, Jo

View 2 Replies View Related

Shared Hosting - How Do You Upload/download Your Database?

Apr 27, 2006

Hello,

I am an ASP.NET 2.0/SQL 2005 web developer, and I have run into a huge frustration for some time now that I can't seem to get past. My goal is to develop SQL databases for my costomers on my development machine, and then upload the completed database out to my host. I have not found a host that allows this yet. Some hosts do not allow remote SQL connections altogether, and the best hosts I have been able to find allow remote SQL connections, but do not allow SSIS or DTS packages to run to transfer database objects to the production server.

What does this mean? Well, I have to manually transfer or recreate individual stored procedures and recreate primary, foreign, and other table constraints. I cannot just run a DTS package to transfer the completed objects. So this means duplicating effort, changes for mistakes, and more server downtime during site upgrades. I have called so many host providers, and I haven't found one that can get me past this.

Also, I contacted Microsoft to ask about Licensing (thinking I would just lease a dedicated server), and the only option I can use is SPLA licensing. The catch, I have to lease the OS through SPLA as well, and all the hosts I have contacted put the OS on the server themselves. This means I would be paying for the OS twice.

Ideally, I would just love to find a shared web host package that I could use efficiently with my SQL development. Am I missing something? If anyone has any advice, please help! I would be so appreciative!!! Thanks.

Regards,

Jeremy

View 5 Replies View Related

SQL 2005 In Hosting Environment

May 2, 2007

Hello,

I want to offer a SQL 2005 server in back-end configuration for my hosting clients. Basically this means that they administer the DB with a webbased tool and the DB server it self is configured in the backend and has no direct connect to the internet. The DBs can only be access from the frontend web server.

- What security considerations should I take to use this server in a public hosting environment?
- We only allow webbased administration, no direct connect to the server are allow and possible.
- Multiple databases will exist on the same server from different customers.

I really would like to have as many information as possible. There is not much usefull information available on the web or in the books I own about SQL.

The question should actually be: what do you want to prevent from happing on your servers by authenticated users and ofcourse unwanted users. And how to do this.

View 6 Replies View Related

Shared Hosting: Web Data Admin And Local Testing

Dec 18, 2004

I just recently added 30MB of SQL Server database space on my Share hosting account.

I want to put the SQL Web Data Administrator on the server but it is an MSI file and I cannot figure out how to install it.

Also, I will be testing my .Net pages on my local machine. How do I go about it without accessing the SQL Server on my host? I used MS Access before and I have a copy of both databases on my local machine and on the server. I'm thinking of using MSDE on my machine and I just change the connection string when I upload my code. Is this a good idea or is there a better alternative?

Thanks.

View 1 Replies View Related

Using The External Activator Sample On A Shared Hosting SQL 2005

Mar 30, 2007

Hi,



I'm trying to get the External Activation Sample to work on a shared hosting Sql Server. The error seems to indication that I might be able to enter my db un/pw to get it to work. Where in the code or app.xml can I provide credentials? Here's the EA log. Thanks!



3/29/2007 4:47:39 PM STATUS: External Activator initialization completed.
3/29/2007 4:47:42 PM WARNING: Failed to connect to Notification SQL Server 'sqlb2.webcontrolcenter.com' and Database: 'xyz' because: Login failed for user ''. The user is not associated with a trusted SQL Server connection.
3/29/2007 4:48:17 PM STATUS: External Activator is shutting down...



Stacy

View 1 Replies View Related

From Test Environment To Web Hosting Company

Jul 9, 2006

I must be missing something, and its starting to fusterate me.  Bear with me here.
I created a site for a ...client I guess you'd call it, and made this really slick newletter generator thing.  The people from the web enter in their info, and if they want, they sign up for a newsletter -- all tied into a db, 1 table, 4 stored procedures, REALLY simple stuff.  They insisted I used a certain webhost which, on paper, looks like it will fit the bill.  I'm starting to question that.
On top of the newsletter thing, I created an aspnetdb for the "administration" side of it for her to log into and send out the newsletter so total, there's 2 dbs in the app_data folder.  Locally, it works GREAT and on my test box (iis6) that is running 2k5 express.  The webhost runs sql2k in (what I consider) a bastardized way.  Can't use the management studio, can't use anything except a really weak web-based interface which adds to my fusteration.
Anyway, my questions : 1, is there a way to make the mdf files work with sql2k without having to re-do the whole thing and 2, if I have to redo it, does anyone have an example connection string that might help out?

View 1 Replies View Related

Backup Sql Server Database In Hosting Environment?

Aug 11, 2006

I am new to database.
I have a website in a hosting environment and it uses sql server 2005 databases. I want to have a complete backup of my database in addition to the hosting company's routine backup.  I want to write a program to automatically backup everything every night. And of couse have the ability to restored the whole database if necessary.
How should I do it? Are there any tools exist that I can use? What is the best way to deal with backup/restore in hosting environment?
Thanks!
 
 

View 1 Replies View Related

HELP On Deploying A SQL Database To A Remote Hosting Environment

Apr 4, 2008

hi,I was redirect to this URL* based on Deploying a SQL Database to a Remote Hosting Environment,pertaining to my question on how do I convert MDF file to .SQL.I had downloaded and installed the program recommended that is Database Publishing Wizard.but the problem is now, there isn't any context menu "Publish to Provider" * when i right click on thedatabase aspnetdb.mdf..please advice me. thanks.* Reference : http://weblogs.asp.net/scottgu/archive/2006/12/22/recipe-deploying-a-sql-database-to-a-remote-hosting-environment-part-1.aspx 

View 4 Replies View Related

Shared Data In Multiuser Environment

Aug 18, 2006

Hello, I am wondering how to code asp.net to prevent multiuser from modifying a share data (on sql server) at the same time.

View 1 Replies View Related

Shared SSIS Staging/Dev Environment

Jul 16, 2007

We are in the process of setting up a shared staging/development enviroment in which multiple developers will deploy their packages for testing etc.

The plan is to allow the developers to remote in to execute their packages, but we are worried about the concurrency limit of 2 users per terminal services.

It is my understanding that you cannot execute packages remotely (ie you have to be on THAT box to kick it off. (FYI - we are not planning on using SQL Agent at this point - That will be with DBAs in UA)

Please let me know what options are available/best practices...

Thanks!

View 5 Replies View Related

Encryption Choices / Best Practices For Hosted Environment (shared Server)

Aug 29, 2007

I'm building a hosted website and I am using SQL 2005.
The DBA for the host has told me that i can not encrypt a symmetric key with a certificate, when using that symmetric key for encryption. As i read that this method provided optimum performance/ security for encrypting columns of data.

The DBA told me i can use a cert or a symmetric key for encryption.
I have searched for comparisons and found a blog entry by Laurentiu Cristofor comparing certs with asymmetric keys. Which leads me to believe that certs and asymm are very different than symmetric keys.

My question is which is the best choice in a hosted environment for column encryption, a cert or symmetric key.
Which is more secure? Does one offer a significant performance (dis)advantage?

TIA

View 5 Replies View Related

Assistance In Connecting A SQL Server Client To SQL Server Sitting In A Shared Environment

Dec 5, 2006

Hi,

I need to connect to a SQL server thats running in say abc.trident.com and also sits in a shared environment..

I have couple of questions

1) That SQL server is accessible from my network, yet when I swtich on my enterprise manager I am unable to view that in the list of running SQL servers in the populated list.

Is it because its sitting in a shared environment I am unable to view that?

2) What is the connection striing I should use to connect to the server..When I try to configure a SQL server registrations it normally asks for SQL Server name along with the user authentication

Should I mention fill the Server: field as 

abc.trident.com

or

// abc.trident.com/abc.trident.com

to connect to the clustered server.

Can some one tell me the proper connection string if both aforementioned ones are incorrect?

Thanks in Advance

 

 

 

 

View 5 Replies View Related

Sql Express HOSTING

Jun 24, 2007

hello guys
 I am developing ASP.NET  applications in order to build a portfolio, im using MS SQL EXPRESS databases, do i need a hosting account that allows multiple sql databses or does SQL express fit in to your application, eg as many as you like in as amany applications. I am asking this because i know MS SQL  server is a different thing from MS SQL EXPRESS server and hosting companies say stuff like 1 MS SQL databse and stuff. I have multiple applications that wont need the real MS SQL databse because there not live just portifolio stuff. 
 Can somone sugest a ASP.NET hosting company please a cheap one.
 Thanks
 Nadeem

View 2 Replies View Related

SQL Server Express Hosting

Dec 29, 2005

I am currently developing an asp.net 2.0 app which uses form authenication now implemented in a sql server express mdf database file. I wonder if there will be problems when I want to deploy this app on a hosted server from a hosting provider. I have the impression that hosting a SQLexpress user instance is currently not supported by hosting companies. Is this correct? Should I revert to an msaccess database instead (we don't want to pay extra for full blown sql server storage).
Ronald

View 5 Replies View Related

SQL Express License For Hosting

Apr 25, 2006

Can SQL Express used in a web hosting scenarion... Does that require any extra license or is free?

View 3 Replies View Related

Express Edition Hosting Issues

Aug 20, 2007

Hi - I am about to sign up with a new hosting company and I wanted to check my use of Express edition would be ok with their setup (full version 2005), they replied:

----------
yes the formats are the same but some functions in the Express Edition are not supported by the full Version as the Express Edition is for development only. We cant say if you will run into any errors as we don't know what you do and which functions you are using.
----------

Is this true - I figured it would be more likely that the the Express edition represented a subset of the full versions functionality and since they produced the same format, would be compatible in this direction. It smells of BS to me but i just wanted to check with the experts...what do you reckon?

Many Thanks,

Steve

View 5 Replies View Related

SQL Express And Selling As A Hosting Service.

Apr 29, 2006

Hi,

Can a web hosting company charge clients for using an SQL Express  instance on their network?

E.g. The host charges the client $x per month per instance. Is this legal?

View 1 Replies View Related

SQL Server 2005 Express Hosting

Jan 27, 2008

I have developed asp .net wbsite with SQL Server 2005 Express Edition and Crystal reporting. I want to know that whether i can deploy my website with SQL Server 2005 Express Edition? If yes, Please say SQL Server 2005 Express Edition is a local database version like MS Access or server database version. And also give me name of website or server name on which i can host my website.

View 6 Replies View Related

Licensing Sql Express For Web Hosting Providers

Oct 24, 2006

For the second time in as many months I've been asked the question. What is the license requirement for me, the service provider, for offering my clients the ability to use SQL Server Express?

I understand the license to say that as long as I'm registered (no cost) there is no further licensing needed in order to offer this to my clients.


Could someone clarify this for me? If I'm incorrect I'd appreciate the right answer.



Thank you!

View 4 Replies View Related

How To To Transfer SQL Server Express To Web Hosting Provider

Oct 13, 2006

Hello,FYI, I'm using Visual Studion 2005 with SQL server Ex Edition in my developer PC. So the problem now is how i can migrate the database into my web hostin provider??. The provider also use the same version of SQl server. What i noticed the expree editon dont have function to import or export.Anybody iin here know how to solve? Right now, i'm create the databse using my controll panel in my web hosting then i create tables usin management studio express, this way i must do twice works, 1st in my developer PC then into my web hosting..please anybody give a hand please

View 7 Replies View Related

Web Hosting - ASP.NET With SQL Server 2005 Express Database

Jun 6, 2006

What is needed for a hoster / hosting company to be able to host .Net applications with SQL Server 2005 Express database?

My questions regarding this issue basically are:

If a hoster has several sites hosted on a server, can each one of them have its own SQL Express database?
Or, do they have to be migrated to full SQL Server?

What is with the Upsize Tool for SQL Server Express (or something like that) - is it available?
Generally, how do hosters do their hosting - do they have SQL Server SPLA signed? Or do they just have SQL Server 2005 Express and allow users just to copy their web sites and databases to server?

I would really appreciate any answer.

Kind regards,

Luka

View 1 Replies View Related

How To To Transfer SQL Server Express To Web Hosting Provider

Oct 16, 2006

Hello,

FYI, I'm using Visual Studion 2005 with SQL server Ex Edition in my developer PC. So the problem now is how i can migrate the database into my web hostin provider??. The provider also use the same version of SQl server. What i noticed the express editon dont have function to import or export.

Anybody iin here know how to solve? Right now, i'm create the databse using my controll panel in my web hosting then i create tables using management studio express, this way i must do twice works, 1st in my developer PC then into my web hosting..please anybody give a hand please

I already copy web site include the app_data into my web hosting, but unfortunately i dont know the connections strings???? when i ask the provider they told me to use the management studio for the databse for connection into their server.

i also noticed if i install the application which use sql server dataabse it can be install the database including the tables and the data, so how is it i want to make my web site including the database be like installer. Like CommunityServer Forum? i just install into web hosting..is it possible?? How the way?? Thank you

note: I'm newbie in VS and Sql server

View 6 Replies View Related

SQL Express License Hosting For Business Purpose?

Apr 25, 2006

Hi every one,

SQL Server 2005 Express License allow hosting for business purpose, as DB size is limited to 4 GB?

Any restriction or limitation ?

regards

View 7 Replies View Related

Transferring From Sql Server Express To Shared Host

Apr 13, 2006

I have a web app and database created in sql server 2005 express.  In addition to using the membership and role providers I have added custom tables and stored procedures to my db.  When I try to export this with Sql Server Management Studio (not the express version) to my db on my shared host(sql server 2005) the custom tables and stored procedures are not transferred.
How can this be accomplished?
Thanks in advance.

View 2 Replies View Related

SQL Express, Shared Memory, Domain Computer

Jul 16, 2007

I am new here and new to SQL Express. I've searched for my issue, but can 't quite find anything close to the problem or how to solve it, if it's even solvable. I am using SQL Express on a pc to connect to the back end of a database. The front end application (an access runtime) also runs on the same pc. This pc is on a domain. I think I've tried every combination of protocols, and although connectivity via ODBC is successful, the application can't connect - gives the "server doesn't exist or access denied". When I log on to this computer with the "machine" logon (not the domain), I have SQL Express configured to use shared memory, the application runs just fine. I need to use this database for testing in a non productivity environment, but I really hate to log off the domain to run it. Ideas?

Thanks,

pvdcats

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved