ASPNETDB With Publish Provider

Aug 22, 2007

Hi!

 I have created a sql script with publish provider and the file has all information about ASPNETDB and now i want to drive the sql script into my databas on my webbhosting.

How do i? i have SQL Server Management Studio Express to admin my databas.

any?

View 7 Replies


ADVERTISEMENT

Need To Deploy ASPNETDB On Provider SQL Server 2000

Aug 1, 2007

In my ASP.NET application I am using authentication/Login controls. I have my development configuration running correctly... my providers are setup in the web config along with the appropriate connection strings for these providers. In the development environment .NET Framework 2.0 and SQL Server Express 2005 configured in IIS, ASPNETDB installed in App_Data. I am able to create new user accounts and re-login under these accounts, so all validation is working on the development servers.
Now... I need to deploy the ASP.NET 2.0 site. My provider is allegedly ASP.NET 2.0, with SQL Server 2000, implimented on a seperate backend server which I utilize in my application during development to reduce configuration issues during deployment. I can create databases and utilize SQL Server Management Studio locally (2005) to perform all appropriate development tasks on my remote SQL 2000 Server.
However, I need to deploy ASPNETDB on that remote SQL 2000 Server (apparently my provider has no instance of SQL Server Expres 2005 running on the web server). 
I tried to use the Import/Export Wizard in SQL Server 2005 Management Studio, I can only transfer the tables and views to my remote ASPNETDB database (which I had to create from the provider side utilities). I have tried using the "Copy Database..." command on the ASPNETDB database, but my error is: "The destination SQL Server must an SQL Server 2005 instance".
...Then I tried to script the database and run it against the remote server within the Import/Export Wizard... this failed miserably... massive Syntax Errors puked out of the parser.
...Then I tried to mirror the ASPNETDB database  to the remote SQL Server 2000 instance... my error is: "The destination SQL Server must an SQL Server 2005 instance".
...Then I tried creating an SSIS package utilizing the "Transfer SQL Server Objects Task". This failed as well... reporting that the Login cannot be null... apparently a known issue and unrelease fix.
So now I'm stuck! How can I impliment the ASPNETDB on a remote SQL Server 2000 instance?
Theoretically, if I change the configuration of the providers for ASP.NET the Login/Authentication controls in the web.config file to point to the new ASPNETDB instance attached to the remote SQL 2000 Server, and of course... if I could get the stored procedures ported it should work right?
The schema should be in tact whereas I used the Import/Export wizard to at least get the tables and views ported to the remote SQL 2000 Server. But the 55 stored procedures and 1270 system stored procedures still need to be transferred. How can I accomplish this?
I hope I provided enough of an overview... Thanks in advance for any suggestions. Don't hesitate on any questions.
 
Rik C.

View 1 Replies View Related

Proper Way To Rename ASPNETDB.MDF? Custom Provider The Solution?

Jan 28, 2006

ASP.NET 2.0....
What is the proper way to rename the ASPNETDB.MDF to another name, such as TEST_ASPNETDB.MDF?
I know you can rename the db in the IDE, BUT, there are other places you need to change so that ASPNETDB.MDF isn't recreated.  Do I have to make a custom SQLExpress provider or something to that effect?
Any examples?  Thanks...

View 2 Replies View Related

Moved Aspnetdb To SQL Server - What Permissions Do I Need To Give The ASP IIS Service Account For That? (Getting: Cannot Open Database Aspnetdb Requested By The Login. The Login Failed.)

May 12, 2008

I am getting the error:
Cannot open database "aspnetdb" requested by the login. The login failed.
When I browse to my ASP.NET 3.5 LINQ web application on the IIS 6.0 server on Server 2003.
I imagine this is because while I granted SQL Server 2005 login and permissions to my database that the application stores its data in, I did NOT grant any rights to the service account the IIS Application Pool uses for its identity to the aspnetdb database on SQL Server which is where all my roles information is stored at.
My question is what are the MINIMUM permissions needed for this database so it can perform its roles related functions?
I'm using Windows Authentications with the SQL Role provider for authorization.
 
Thank you.
 
 
EDIT: I think I only need to open the aspnetdb database and add my login to the aspnet_Roles_FullAccess role.  Is that correct?

View 2 Replies View Related

Can Rs.exe Also Un Publish Reports?

Jan 7, 2008

there's lots of info on the web about rs.exe adding objects to RS, but what about rs.exe deleting them, for cleaning house, without "breaking" anything?

View 4 Replies View Related

How To Publish OLAP Cube

May 6, 2003

Hi,

I am new to SQLServer 2000.I have built a cube.I was wondering how to acess this from a client(say via excel or a browser).

Thanks,
copericus

View 4 Replies View Related

Low Latency Publish-Subscribe

May 4, 2007



Hi,



I have a couple of questions to make.



How can i trigger notifications to my application ( C#)

without hanging in WaitFor Operation??



It's possible for broker service to call some remote

object that my application provide ???



Can Publish/Subscribe using Broker Service be used

for a low latency notifications (150ms ) max with milions of

messages published per second??



Thanks in advance



Sérgio

View 2 Replies View Related

How Do I Publish Sql Express Database In Internet?

May 29, 2007

Hi all,
There is a sql express database .mdf file which I can access locally through local web pages using windows authentication and integrated security = true.
Now I want to publish this db and the web pages to my hoster's server so as to access the db from internet.
The connection string currently is in the web config as below:<add name="NORTHWNDConnectionString" connectionString="Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|NORTHWND.MDF;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />     The database is currently located in the App_Data folder.
Please give me some step by step solution to configure the db to access from internet. Thanks a lot in advance.

View 1 Replies View Related

Transient Deadlock During SSDT Publish

Jul 10, 2015

I have a SSDT project that intermittently fails with the following error when I try to publish via Visual Studio by double-clicking the publish.xml file...

(330,1): SQL72014: .Net SqlClient Data Provider: Msg 1205, Level 13, State 68, Line 5

Transaction (Process ID 55) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

(326,0): SQL72045: Script execution error.  The executed script:
IF EXISTS (SELECT 1
           FROM   [master].[dbo].[sysdatabases]
           WHERE  [name] = N'$(DatabaseName)')
    BEGIN
        ALTER DATABASE [$(DatabaseName)]
            SET READ_COMMITTED_SNAPSHOT OFF 
            WITH ROLLBACK IMMEDIATE;
    END

This is a hyperV client running on my laptop. I'm connecting to the client's VPN inside the hyperV client and using the "runas" method to open Visual Studio to spoof the domain credentials i use on the clients network. This allows me to connect to servers on the client's domain via apps as if I was logged in with appropriate credentials (not sure how to phrase that better). I can elaborate if deemed necessary, but even the client's FTEs are having same problem and they're sitting in the building.

Windows Server 2012 R2 StandardSQL Server 2014 CU6 (12.0.2480)Visual Studio Premium 2013 (12.0.31101.00) Update 4 

Windows Server 2012 R2 (VMWare)SQL Server 2012 SP2 (11.0.5058).Here are some observations...

Happens about 60% of the time during the day (I just keep re-running until it deploys successfully)...late at night and on weekends, it doesn't seem to happen with anywhere near as high a frequency.Only seems to happen when I use "Always re-create database" option (don't recall incrementals having this problem...but admittedly I'm not doing many of those as we're still in the full-speed-ahead-development phase)This does NOT happen when I publish to my local SQL Server instance..Deadlock xEvent trace on target instance. Unfortunately it didn't seem to be able to capture all the info and the deadlock graph doesn't render (error below) checking the Single User Mode during the publish. This seems to increase the frequency with which this issue occurs.

View 10 Replies View Related

Replication :: Publish Database On Subscriber

Aug 13, 2015

I have database (DB) on the server SQL1. This database (DB) is published on SQL1 server for SQL2 server. So, SQL1 is publisher and SQL2 is subscriber for (DB). Can I publish database (DB) on the server SQL2 for the server SQL3? I would like to implement this scheme of Publication/Subscription:

<o:p></o:p>
SQL1 -> SQL2 ->SQL3..

I know, that it is simpler just to publish DB for SQL2 and SQL3 from SQL1, but, because of network connectivity, I can't do that...

View 3 Replies View Related

Publish C# Project Connected To Database?

Aug 10, 2015

i want ti publish a c# project connected to sql database, i introduced the database into my project, i use the connection string: 

  SqlConnection cn = new SqlConnection(@"Data Source=CONTA-LAPTOP;Initial Catalog=RaducuIonel;Integrated
Security=True");  if right click on the database-> properties iti show me next connection string: Data Source=CONTA-LAPTOP;AttachDbFilename="C:Program FilesMicrosoft SQL ServerMSSQL10.MSSQLSERVERMSSQLDATARaducuIonel.mdf";Initial
Catalog=RaducuIonel;Integrated Security=True    

...when i connect to server in sql i use windows autentification. And the last thing: when i publish the project it ask me: application will check for updates from [URL] or application will not check for updates. I select first option: to check for updates from here: [URL] .to another computer my application cannot connect to database (login error) .what i am doing wrong? 

View 2 Replies View Related

SQL 2005 : Provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server

Mar 17, 2008

Hi to all,


We have 4 client machine and 1 server machine, that server have all the sql server 2005 database€™s.


A project developed from client1 with Asp.net 2005 now I need to access that project from client2 so I type http://My Ip address/Folder Name/home.aspx in my browser here when the sql connection is open(SqlConnection.Opn()) then I meet this problem


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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)


Please reply me.

View 2 Replies View Related

Could Not Create A Connection For The Provider Invariant Name. Verify That This Provider Is Installed Correctly On This Computer

Nov 28, 2006

Hi all,
While working on the Integration Services project.
When I try to create a new Data Connection in Connection Managers for ADO .NET SAP Provider, it gives the following exception:


TITLE: Microsoft Visual Studio
------------------------------

Could not set the connection qualifier for the current connection.

------------------------------
ADDITIONAL INFORMATION:

Could not create a connection for the provider invariant name 'Microsoft.Adapters.SAP.SAPProvider'. Verify that this provider is installed correctly on this computer. (Microsoft.DataTransformationServices.Design)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%u00ae+Visual+Studio%u00ae+2005&ProdVer=8.0.50727.42&EvtSrc=Microsoft.DataTransformationServices.Design.SR&EvtID=CouldNotCreateConnection&LinkId=20476

------------------------------

Object reference not set to an instance of an object. (Microsoft.Adapters.SAP.SAPProvider)

------------------------------
BUTTONS:

OK
------------------------------


Can anyone describe, what is the resolution for the same.

View 1 Replies View Related

(provider: Named Pipes Provider,error: 40 - Could Not Open A Connection To SQL Server)

Jan 23, 2007

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.
 I am getting this error and using this connection string
Data Source=192.168.0.100;Network Library=DBMSSOCN;Initial Catalog=ENet;User ID=eonline;Password=eonline;
What can be solution for this.

View 4 Replies View Related

Provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server

Mar 10, 2008

Hi,    I am working on VS 2005 and using SQL 2005 Express and i am processing excel files and inserting records in data base as i processing starts and almost after processing 600 i got this error provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server. how can i solve that thanx  

View 3 Replies View Related

SQL Server Does Not Allow Remote Connections. (provider: Named Pipes Provider, Error: 40)

Apr 15, 2008

Hi,
My .NET 2005 application is on a server outsite company's domain. SQL server is in domain and port for sql server is open. TCP/IP is set for remote connection in SQL Server. Connection string in .config is
    <add name="X_Conn" connectionString="Data Source=XXX;Initial Catalog=XXX;User ID=XX; Password=XXX;" providerName="System.Data.SqlClient"/>
I receive the error below:
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
thanks a lot in advance!

View 3 Replies View Related

Provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server

Apr 26, 2007



We just changed the dev environment to sqlagent. From then we were unable to see the reports on the report server because:



An error has occurred during report processing.

Cannot create a connection to data source 'IHRSDataSource'.

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

this error is cropping up.



To Resolve this issue, we checked the Surface Area Configuration and also checked the Reporting Service Configuration . There seem to be no problem and everything looks ok.



Please help me in resolving this issue.











View 4 Replies View Related

Provider: Named Pipe Provider, Error: 40 - Could Not Open Connection To SQL Server

Apr 14, 2007

After I installed the various service packs via Windows Update, my WindowsForms application can no longer connect to the server.



The error message is:



provider: Named Pipe Provider, error: 40 - Could not open connection to SQL server.



However, the Reporting Services work just fine.



Please help.

View 1 Replies View Related

Provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server

Mar 17, 2008

Hi to all,


We have 4 client machine and 1 server machine, that server have all the sql server 2005 database€™s.


A project developed from client1 with Asp.net 2005 now I need to access that project from client2 so I type http://My Ip address/Folder Name/home.aspx in my browser here when the sql connection is open(SqlConnection.Opn()) then I meet this problem


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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)




Please reply me.

View 1 Replies View Related

Provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server

Feb 20, 2006

Hi All,

   I am new to dotnet. I tried connecting to the database MS SQL Server 2000. I gave the code like, the one below, in form load event,

SqlDataReader dr = null;

SqlConnection myConnection = new SqlConnection("Data Source=IP;Initial Catalog=name;User Id=uid;Password=pwd;");

myConnection.Open();

myConnection.Close();

But I could not connect. The error message highlights the line myConnection.Open() and displays the error

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)


It tries connecting to SQL Server 2005. There is no SQL Server 2005 in that system. There is only SQL Server 2000.

I have the aspx code in my local system and the database in another machine.

Could Someone please help me out in solving this problem.

 

Thanks,

Arun. S

 

 

 

 

 

View 26 Replies View Related

Provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server

May 20, 2008



hi all

I realised this has been done to death, and so much information out there but I am still in a quandry.

I have had to rebuild my computer.

This is what I did

XP machine
using SQL Server 2005 Standard Edition
using Windows Authentication
NZ6(MSSQLSERVER)

straight default install all the way

unfortunately when ready to run reports from my instance(computer)
I received the error as in provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

thought I had it all okayed but obviously something not right

so ended up unistalling then - did the following:

Load SQL Server from disc1 and start install
failed on alter Counter Registry key error
fixed this from KB article (known error that can happen)
restarted
Went to Windows Update
check IIS is installed - tick is on - IIS - admin tools - make sure asp2 is associated - yes ok
Then back to install sql server - there is no instance set up yet
Disk 2 and setup .exe

All ok on Reporting Services, Analysis etc.


But once again all seems fine but still getting the error:

connection is all fine in Management Studio - eg I can see tables etc
connection is all fine in Business Intelligence - eg I can preview my reports
I then can deploy up to - NZ6
open NZ6
eports
report is there fine - but just errors

some simple little tick that I have not done!!

I seem to have checked and rechecked everything and obviously doing another re-install does not seem a logical step from here.
I will continue to check but if someone jump in and advise please would be great.

cheers
jewel

View 6 Replies View Related

Provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server

Oct 15, 2007



Hi

I am creating a web site using Visual Studio 2008 & trying to connect to database on SQL Server 2000. My test connection is successful but while debugging the page I am getting this error :
" provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server "

Your suggestions on that will be appreciated.

Thanks

Ashok

View 5 Replies View Related

Provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server

Aug 27, 2007

Guys!
has MS done Anything about this issue? I am running NT2K and have the same issue y'all having

provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

Does anyone have a fix or a workaround that will work once the application goes live?

View 1 Replies View Related

Provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server

Apr 3, 2007

Hi,



Am getting the followning error:



{"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: Named

Pipes Provider, error: 40 - Could not open a connection to SQL Server)"}



from my application where 3 service references had been added

and hav added this segment in app.config file



<configSections>

<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />

</configSections>

<dataConfiguration defaultDatabase="Connection String" />

<connectionStrings>

<add name="Connection String" connectionString="Data Source=DPA1W075Binstancename;Initial Catalog=SoapBox;Integrated Security=SSPI;"

providerName="System.Data.SqlClient" />

</connectionStrings>



Solutions recommended for this were start running the SQL browser instance and enable Namespipes in Sqlserver configuration manager.Did both.. but nothing worked.

Still getting the same error..



Can somebody plz help me?

View 2 Replies View Related

Provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server

Jul 21, 2007

Hi guys, I have a problem with error: 40.

I made a Web page, and it works perfect on my local machine, everything is OK, until I uloaded page to the server, it reports this error:


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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

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 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Source Error:





An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:




[SqlException (0x80131904): 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735091
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup) +820
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +628
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +359
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +496
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1770
System.Web.UI.WebControls.Repeater.GetData() +50
System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +232
System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53
System.Web.UI.WebControls.Repeater.DataBind() +72
System.Web.UI.WebControls.Repeater.EnsureDataBound() +55
System.Web.UI.WebControls.Repeater.OnPreRender(EventArgs e) +12
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360



I dont't Know what to do. Please HELP!

View 6 Replies View Related

Provider Is Not Specified And There Is No Designated Default Provider Vb Script Not Working With Access File.

Dec 1, 2007

Hi all,

I am currently on XP x64 and am trying to run a .vbs file, which needs access to an access file when the following error pops up:

"Provider is not specified and there is no designated default provider"
error code: 800a0ea9
source: ADODB.Connection

I have tried a bunch of stuff, but so far nothing has worked.

The following code is is question:
set AccessDB = CreateObject("ADODB.Connection")
AccessDB.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & sMSAccessDBPath)

any help would be appreciated......could I run this with cscript.exe (in the WoW64 folder) in through cmd.exe?

Thanks in advance for you help.

Jonathan

View 1 Replies View Related

After Publish From VS2005 To IIS 5.1, SQLExpress Doesn't Work

Jan 30, 2007

I created an app in vs2005 and everything works perfectly in the development environment. I've published the site to my local IIS, but when I try to log in, it doesn't allow me. I'm assuming that it has something to do with the db not working correctly. Unfortunately I don't know how to debug to see where the problem is coming from now that it's running on my 'live' IIS. Does anyone have any ideas on what could be the problem. I have some settings in the web.config, which have been working perfectly.
 <appSettings><add key="UserName" value=""/><add key="Password" value=""/><add key="Server" value="xxxxxxsqlexpress"/><add key="Database" value="xxxxx_xxx_users"/><add key="UseTrusted" value="True"/></appSettings>
I had a local guy at the office here saying that the ASP.NET user needs to be granted access to sqlexpress2005, but I wasn't sure on how to do that.
So all in all, My app works in Visual Studio 2005, and not in IIS. There are no errors when loading various pages. They all load correctly and without error. It seems that it's just when I try to do anything with the DB.
Thanks for the help. I appreciate it!
 

View 4 Replies View Related

Publish A Report From A Local Database To The Server

Nov 10, 2007



Hello,
I recently read the following book:
http://www.amazon.com/Microsoft-Server-2005-Reporting-Services/dp/0072262397/ref=pd_bbs_sr_1/104-5275187-2065567?ie=UTF8&s=books&qid=1194662002&sr=8-1

It was excellent.

I was hoping to find an example of the following:

My company has a desktop application with a local database (sql server 2k express) I would like to be able to have local reports and if the user likes the report they are viewing, the user could "publish" that report to the server. Since the database is local, the report data source cannot point to that database. So, it would publish the report AND the data in it.

For this use case, what is the recommended strategy of moving the data with the report? Would i create a small xml file and then dynamically build a datasource that points to that xml? Any best practices advice?

If i could find an example would be fantastic.

Thanks for your help,
Dan

View 1 Replies View Related

Publish Window Application With Sql Server Express SP2

Feb 4, 2008

How do I get SQL Server 2005 Express Edition Service Pack 2 to show up in the prerequisites list when publishing the application?

Thanks

View 1 Replies View Related

Reporting Services :: Publish MDW Reports On SSRS

Jun 1, 2015

Is there a way to publish the MDW (Data Collection) reports (Disk Usage history, Query Statistic history, and Server Activity history ) on SSRS server?! 

It is not logical for all who wants to view the mentioned reports to open the SSMS !  

I've already check [URL] .... there, the writer is suggesting to recreate the reports from scratch on SSRS, that if I could figure their queries, which I don't think the only way that we have!

View 3 Replies View Related

How Cany I Publish 1 Table From An Attached Database?

Oct 24, 2006

Hello,

In my vb.net application, I have an attached database called dbMaster with the following tables:

tblCustomer, tblProducts, tblUsers

In visual studio 2005, is it possible to publish only one table? My problem is, is that I want to send my end users updated data from my tblCustomer, and am finding that on my test laptop, if I publish dbMaster, it sends all tables when I just want one to be sent.



Thanks in advance.

View 5 Replies View Related

(provider: Named Pipes Provider, Error: 40 - Could Not Open A Connection To SQL Server) Urgent Please Help Me| Admin Please Rush It Thanks A Lot

Apr 4, 2008

I've just posted mywebsite andthis error keep being trhrown as soon as I access the DB
I dont understand what is going on and if I dont get it working bu today will delivery date will expire and I will get in trouble...
So anyone knows what is going on
It says the following:
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Here is my con string :
<add name="ASPNETDBConnectionString" connectionString="Data Source=p3swhsql-v09.shr.secureserver.net;Initial Catalog=myCatalog;User ID=MyID;Password='Mypassword"/>
Thanks a lot

View 4 Replies View Related

(provider: Shared Memory Provider, Error: 0 - No Process Is On The Other End Of The Pipe.)

Oct 22, 2006

 I am getting the following error when i try to connect to the my web site using froma different server.  A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)  i am using sql express and i attach the database through the connection string in the web config. Any ideas

View 1 Replies View Related







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