DataSource Controls :: How To Execute 50MB SQL File (Micrsoft SQL Server) On Database Server Host

Jun 17, 2010

I have created database .sql file for create schema with export database. (its .sql file size is 48.2 MB)

View 1 Replies


Similar Messages:

DataSource Controls :: How To Write A Sql To Execute The File At Specific Time Sql Server Database

May 28, 2010

how can i write a sql to execute the file at specific time sql server database.

View 3 Replies

SQL Server :: Set Execute Permissions For Website At Web Host?

Sep 8, 2010

I have just succeeded doing a Publish to server from my local sql db and run the sql script on my web host's sql server 2005 db.

Now, I get the dreaded

The EXECUTE permission was denied on the object 'MyStoredproc', database 'db12345', schema 'dbo'.

error. I can't set the permissions from within Visual Studio, can I?

What should I ask the web host to do?

a) Should I ask them to globally set execute permission on ...?

b) Should I ask them to set execute permissions to ... for only INSERT/DELETE/UPDATE stored procedures?

c) Should I ask them nothing, and handle this myself? If so, then how? And, the question remains, should I set execute permissions globally or on a per stored proc basis? And what's the name of the user who needs the property set correctly?

The reason why I ask these questionsis that I used to work with winfomrs at a university. There people should have different permissions depending on what group of users they belonged to.

View 4 Replies

SQL Server :: Execute Permission Denied On Sp At Web Host?

Sep 9, 2010

I have recently succeeded doing a Publish to server from my local sql db and run the sql script on my web host's sql server 2005 db. Now, I get the "The EXECUTE permission was denied on the object 'MyStoredproc', database 'db12345', schema 'dbo'." error.I have Visual Studio Professional 2010, and that's where I create and manage my tables (in Server Explorer). However, when I right-click a stored procedure, I don't get a Seurity option or the like, where I could possibly set permissions.

I'm a bit usure of what SqlServer applications I have installed (as they are intertwingled with the Aps.Net stuff somewhat). When I look at Add/Remove software, this is what I find:

Microsoft Sql Server 2008 (562 MB)
Microsoft Sql Server 2008 Native Client
Microsoft Sql Server 2008 R2 Data-Tier Application Framework
Microsoft Sql Server 2008 R2 Data-Tier Application Project
Microsoft Sql Server 2008 R2 Management Objects
Microsoft Sql Server 2008 R2 Transact-Sql Language Service
Microsoft Sql Server 2008 Setup Support Files
Microsoft Sql Server Compact 3.5 SP2 ENU
Microsoft Sql Server Database Publishing Wizard 1.3
Microsoft Sql Server Database Publishing Wizard 1.4
Microsoft Sql Server System CLR Types
Microsoft Sql Server CSS Writer

Can I use any of these apps to set the security settings? Or would I possibly not be allowed to change any settings at the web host's Sqlserver 2005 server anyway (due to security reasons)? Frankly I don't think I could ask them to change the settings for over a hundred stored procedures, and then call them each time I create a new one.

And also, I can't understand what the point would be in setting different security levels on SELECTs and UPDATEs etc. After all, all my pages call UPDATE statements (for collecting statistics). I guess that the host could set execute permissions on the entire folder (not sure though) but it would of course be a stupid idea if I'm wrong regarding this matter.

View 4 Replies

DataSource Controls :: Whether *.mdf Database File Work If Host It In Domain

Jan 24, 2010

whether *.mdf database file work if host it in my domain. and also give me any free asp.net hosting site

View 1 Replies

How To Host Site With ASPNETDB.MDF Database From Development Server To Production Server ?

Jan 21, 2011

I have created my site using ASP.NET Personal Starter Kits 3.5. I use Visual Studio 2008 only . .with its built-in SQL Server (2005 Express) ... my database in App_Data is ASPNETDB.MDF ...

I have created some of my tables also ....in ASPNETDB ..

In my local PC the site was running fine ...

But when I publish my site on production server it doesn't work and shows the following error

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


My hosting provider connection string ..

<add name="ConnectionString" connectionString="Data Source=69.16.253.19;Initial Catalog=usa_data;Persist Security Info=True;User Id=user;Password=pass" providerName="System.Data.SqlClient"/>


My hosting provider gave me the connection string to connect to the SQL Server 2005 but it doesn't work...

I don't understand why my site was running fine using the production SQL Server 2005 in my local PC when I include ASPNETDB.MDF file in App_Data in my local pc only ..if I remove file ASPNETDB.MDF from App_Data of my local pc ... the site stops working ...

Can anybody tell em how to fix this ... !! I am very tensed since last 3-4 days

View 1 Replies

DataSource Controls :: Query To Execute The Job In Sql Server?

Apr 12, 2010

Is there any possibility to execute the job in sql server. I want to create the Job. then through the quer i want to execute this Job by passing parameters. can we able to do this.Actucally i want to execute the SP from front end. but suddenly it should respond to the page. but that SP will run for nearly 5 minutes.

View 1 Replies

SQL Server :: Upload Files (5MB - 50MB) Into 2008 By Using Filestream

Aug 28, 2010

i have some files, and i need to upload these files into sql server 2008 by using filestream. lets take table name as custfiles,columns are fileid,filename,filepath,filesize.

1.how to create table using filestream?
2.how to insert file (record) into table from .net environment?
3.how to retrive that file from .net environment?

View 3 Replies

DataSource Controls :: Inserting Excel Data Via File Upload Into Sql Server Database?

Apr 28, 2010

I have requirement that User can Upload the Excel Sheet Data to sql server Database at once.

View 16 Replies

DataSource Controls :: Importing Xml File Into Sql Server (.sdf) With Mapping File (Sql Server Compact Edition)?

May 10, 2010

I have been searching for some information on how to import my xml file into a series of tables using a mapping file (schema).

View 2 Replies

DataSource Controls :: Execute Stored Procedure On Linked Server?

Apr 22, 2010

i need to execute stored procedure on linked server (create procedure on linked server). i had try with this:

[Code]....

SQL code is looking like this

[Code]....

UDBV68 is linked server... Now, when i execute procedure from asp.net i got error 'Incorrect syntax near 'GO'.', but sql server doesn't report error...

Dbcall has value = "EXECUTE ('Create Procedure SelectOne as Select * From FixitOnline.Os_node ',952) AT UDBV54; GO"

View 5 Replies

DataSource Controls :: Connecting To Remote SQL Server Fine From Dev, Fails From Production Host

Feb 16, 2010

I have a SQL server in my office. I can connect from my home development workstation website to the remote SQL server with no problems but when I upload the site to the web host and try and use the same SQL server it fails with 'A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible'

View 4 Replies

DataSource Controls :: How To Convert The Sql Server 2005 File To Sql Server 2008 File

May 24, 2010

I have a problem, I have created a website that is run on local host database is make in 2005 sql server

now i am using sql 2008 and visual studio 2010 , I attach the sql 2005 mdf file in sql 2008 server and run it working correctly when we host it then it is not working

problem gives "NT NETWORK SERVICE FAILED "

how we can convert the sql 2005 mdf file to sql 2008 file.

View 2 Replies

DataSource Controls :: EXECUTE Permission Error On SQL Server 2005 Stored Procedure When Running From The IIS?

Apr 10, 2010

sing VS 2008 at a workstation, I have successfully developed a local, file-system ASP.NET 3.5 website. The wbesite included a membership page with Windows authentication and a web parts page. The SQL Server 2005 ASPNETDB database has been created at an IIS web servr. Using the ASP.Net development server of the workstation, both the membership Membership/WebParts pages at the local website worked very well.

Then, I copied the website to a virtual directory at the IIS web server and creates a remote website for the workstation. Under theASP.NET development server of the workstation, both membership and webparts pages of the remote website at the IIS web server also worked fine.

However, when running these web pages from the IIS web server machine, something wrong happened with the web parts page. (The membership page still worked very well.) For the ASPNETDB database at the IIS web server machine, there is an EXECUTE permission error on an ASPNET stored procedure.

What are the differences between the ASP.NET development server and IIS web sever, which caused the EXECUTE permission error on the ASP.NET S.P.? How to find and fix the errors?

View 2 Replies

DataSource Controls :: How To Connect Server Explorer To A Remote SQL Server Database

Mar 13, 2010

I have created web pages using VS Web Developer that use a local Developer Edition of SQL server database on my PC with LINQ to SQL. When I deploy my website to a remote web host SQL server, I need for my web pages to be able to use the remote database instead of the local database. So, how do I get the Server Explorer to connect with a remote SQL Server database?

View 6 Replies

DataSource Controls :: Copy A Database On A Development Server To Local Server?

Jan 12, 2010

I want to copy a database on a development server to my local server. I am not the server administrator but I have rights to the database. Soon after the wizard Executes the SQL Server Agent Job it fails and the error message says:

The job failed. Check the event log on the destination server for details.

Where do I find this log? Also what could be the problem?

View 3 Replies

DataSource Controls :: Copy Data From One SQL Server Database To Other SQL Server

May 21, 2010

how to copy data from one SQL Server database to other SQL server database using two connection string...

View 4 Replies

DataSource Controls :: LDF File Increasing When Move From SQL Server 2000 To SQL Server 2008

Apr 2, 2010

I have 5 GB data, when I move from SQL server 2000 to 2008 with Import and Export wizard, my LDF size is increased to 30 GB, Can I reduce my LDF file or move. In my one of the table contain around 20 Lakh data which i have normalized in 2008 and create 4 tables, so my data is entering in normalized form in 2008. But due to size by hard disk is full. I have used shrnik command but it reduce to only 1 GB.

View 5 Replies

SQL Server :: Uploading Database To Web Host?

Mar 16, 2011

I am creating an application on my test machine at home. It will require logins, roles, memberships etc.

Just a quick question, will there be any problems when uploading database to my host as its has all my asp.net configurations in the database? Is there anything I need to specifically?

View 1 Replies

SQL Server :: Database Restore Failure On Remote Host?

Mar 12, 2011

I'm getting an error in Parallels Plesk for SQL Server database on restore the cause of which is a mystery to me. Here is the support ticket I sent my hosting company:

I'm in the process of restoring my databases and the first one restored just fine. The second one called ***** for *****.com failed with the following error:

Error: dbbackup failed: Unable to restore database 'alienreports' Not valid backup The media family on device C:WINDOWSTEMPlocalhostalienreports*******.bak' is incorrectly formed. SQL Server cannot process this media family. VERIFY DATABASE is terminating abnormally.

This happened both when using the .bak file from my old host and after restoring that file on my local machine using SQL Server Management Studio 2008 just fine before backing it up and getting the same error when trying to upload and restore.

View 7 Replies

DataSource Controls :: Recovering Data Form SQL Server Database Primary Data File?

Jan 18, 2010

I have SQL Server Database Primary Data File.

I want to recover the data from that file in to my data base which has the empty tables.

I have Microsoft SQL Server Query File which contain the table structure.

View 1 Replies

DataSource Controls :: How To Transfer Database From Mysql To Sql Server Database

May 10, 2010

I have some data which is in mySQL, i am not familier with mySQL, i would like to transfer all the data from MySQL to SQL Server database,

View 11 Replies

DataSource Controls :: SQLExpress Database File Auto - Creation Error "Server Error In '/EBUSINESS' Application."

May 10, 2010

I used visual studio 2008 and sql server 2005(for database) in my website project. After finishing my project i used publish to web option and got the files into an folder. I have installed .NET framework ,IIS, i have also set the remote connection ,firewall setting etc. But when i run i.e., In the IIS manager when i click browse it gives me the following error. Can anyone pls tell me what went wrong in this. My code works fine when run on visual studio 2008. Server Error in '/EBUSINESS' Application.

View 1 Replies

DataSource Controls :: Transfer Database From Sql Server 2008 To Sql Server 2008

Jun 29, 2010

how can i transfer complete database from sql server 2008 to sql server 2008 without loosing relationship intigrity.

View 9 Replies

DataSource Controls :: Synchronize The Database To A Sql Server Database?

Jun 7, 2010

I have created a sdf database in a mobile application.Now I want to synchronize that database to a sql server database.

View 1 Replies







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