.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

CONNECTION PROBLEM

Posted By:      Posted Date: September 28, 2010    Points: 0   Category :Sql Server
 

HAving trouble  with a lap top, it will not let me connect to the internet   tryed with a router from at@t  and also  connected the dsl cable to to laptop  and still not working. 




View Complete Post


More Related Resource Links

Multiple Submit Connection Problem

  

Hello everyone,

I have an InfoPath form with two Submit Connections. One of them is a regular submit connection to a SharePoint Document Library. The other is a submit connection to the UpdateListItems web Service.

I have one button using rules that submits the forms fields to the Document Library. Some of those fields have data validation rules like entry must be four digits, and field cannot be blank.

The other submit button uses rules to submit an XML template to the UpdateListItems Template. My problem is that even though this second button does not have the first submit connection as an action, the form will still check all of the forms fields to see if they violate the validation rules before it will submit to the Web Service.

How do I tell InfoPath to ignore the validation rules when I only want to submit to the Web Service? I want the user to be able to enter data into the XML template fields and submit to the Web Service, even if some of the rest of the fields are blank. Right now if any of the other fields fail validation it prevents submittal to the web service even if the fields that failed validation are not being submitted to the web service.

Thanks for any advice that can be offered,
Bill Hurt


Excel Connection Manager Problem

  
I am building a package that has 2 tasks that need to use the same excel connection manager. I use a execute sql task to dynamically build a table from the headers of the excel sheet  ,then I use an excel source component to load the data from the sheet. However when I try to edit the excel source and switch the data access mode to a variable and select the variable(for the path), when I try to close the editor I get this message 'S:\myfolder'.  It is already opened exclusively by another user, or you need permission to view its data. I need this package to access the same folder each time because the files will be placed in that folder. This package also has a branch for loading a text file into sql server. It access the same folder but uses a flatfile connection manager It looks like permissions on the folder are correct

Context Connection problem in SQLCLR

  
I am using context connection in the sqlclr (and there are reasons to do so). While a datareader is under execution that uses the context connection, I need another database read passing one of values being read from the datareader. Since I cann't use the context connection for this second read (as context connection is already in use), how can I create a second connection to be used with this second read. I cannot create the hardcoded connections string for the second connection as the database is dynamically selected. The database is same as used by the context connection. I can use the server=localhost though, but cannot hardcode the database name as the database can be different in different sqlclr proc call. However the database is same as used by the context connection. (If I somehow get the database name from the context connection then I can use it to create another connection, but I am expecting an even better solution)   Any solution to this problem? Will be very thankful.

Problem with connection to sql server : A connection was successfully established with the server, b

  
Hi all, I am trying to connect sql server using windows authentication . I am getting the fallowing when I try to establish a connection to sql 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.) Can any one tell me how to resolve this problem..

Connection problem while connecting from client to server.

  
Hello, i am trying to connect sql server 2005 express using c#.net 3.5. my connection string is "Server=.\SQLExpress;AttachDbFilename=C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\DATA\db_naren.mdf;Database=db_naren; Trusted_Connection=Yes;" this is working fine when i am connecting to sql server from the local machine. When i am trying to connect from someother machine to server it is giving error like A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) i added previliges in add new administrator on SQL Server 2005 Surface Area Configuration . and i made changes on SQL Server 2005 Surface Area Configuration  page, on Database Engine --> Remote Connections -->Local and remote connections --> Using both TCP/IP and named pipelines. still same error i am getting from client machine i am using connection string as "Server=MyServer\SQLExpress;AttachDbFilename=C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\DATA\db_naren.mdf;Database=db_nare; Trusted_Connection=Yes;" is there any thing i need to do to connect from client machine to server?please

Connection Problem with mysql and asp.net

  
i'm using this string to connect with mysql and asp.net but still agot the connection problem. the connection is not going to open............. i got the following error....... ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified please help me come from this problem "DRIVER={MySQL ODBC 3.51 Driver};DSN=sql4;SERVER=127.0.0.1:3306;DATABASE=myppw; UID=kraft; PASSWORD=myka; OPTION=3"

Web Folder problem : This file cannot be saved to this location because there is no connection to th

  
When I check out a Word 2007 document from a list, I cannot save it back to the server.  I get:   This file cannot be saved to this location because there is no connection to the server.  Check your network connection and try again.   I am using a Virtual Machine (Virtual PC).  I have the Microsoft Loopback adapter installed.    The server has a static IP address and is a domain controller. I am able to access the web folder through Windows Explorer.   How do I set up Office, Sharepoint and Webdav so that I can check files out of sharepoint and save them back, on a virtual machine?

A connection could not be made to the report server - Problem deploying an SSRS report from Business

  
I’m having trouble with what seems to be a common issue for people, regarding deployment of an SSRS report from Business Intelligence Development Studio. Unfortunately none of the solution I have seen posted here (and elsewhere) have been able to help me so far.   Two of my collegaues can both deploy with no problem, and I am using exactly the same Target destinations as them (TargetDataSourceFolder, TargetReportFolder, TargetServerURL).   I have posted the error message below, which from my basic understaning would indicate, I think, a security issue (perhaps something local to my PC, or user account)   Has anyone experienced this particular issue who might be able to help?   Best wishes, Jamie TITLE: Microsoft Report Designer ------------------------------ A connection could not be made to the report server http://turpin-net.turpin-bg.local/Reportserver. ------------------------------ ADDITIONAL INFORMATION: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <HTML dir="ltr"> <HEAD><meta name="GENERATOR" content="Microsoft SharePoint" /><meta name="progid" content="SharePoint.WebPartPage.Document" /><meta HTTP-EQUIV="Content-Type" content="text/html; c

problem in connection string

  
i have problem in connection strin i host my siteand database is in DATA DIRECTORYmy site run successfully in offline but an error of connection string in online pls give me an example of string for onlinei use asp.net, C# and sqlserver 2005

sql connection problem...

  
i attached my sql dbfile to webserver in control panel of database. i checked tables for any errors but there is no problem about listing tables in hosting panel. and my hosting give me a connection string, i changed the connection string with that in web.config.but when i open my webpage, it gived this error,A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)i am using the connection string which is written on the control panel. the connection string is like this,workstation id=xxx.mssql.somee.com;packet size=4096;user id=user;pwd=mypassword;data source=xxx.mssql.somee.com;persist security info=False;initial catalog=mydatabasenamewhat is the problem , why my page is giving that error? how can i fix it?thanks.

Database connection problem in ASP.NET

  
Hello,            I m having a database problem that I couldnt identify. The IIS loses connection to database once in 3 weeks.  Once  you restart the IIS everything is normal. Looks like IIS is fine because i can go to static pages. When I go to a page that requires database connection I get this error: A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - Either the application has not called WSAStartup, or WSAStartup failed. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)   Is this a connection string problem?. because without changing anything if I restart the webserver all is fine.  Is this a problem with application state?   It cant be at the sql server side as other applications on the machine work fine. There is something going on with IIS not sure what it is.   Any help would be appreiciated.   Thanks, Bharani      

problem in socket connection

  
I had client and Server application, the server application to listern an a particular port. 500 clients are to connected and send the data to process everything fine.  At particular time i closed all clients and also close the server. when i start server after 10 mins at before 2 mins start all clients, very few clients(5-15) are connected. give me a solutiion.

domain based webservice connection problem

  
When I try to connect domain based  webservice from my application getting "The request failed with HTTP status 401: Unauthorized"  error .What could be the problem. When i browse the service from browser(http://10.1.23.4/gss/myManagerService.asmx) i can see the service output but when i try to connect from my below programe getting 401 error.Please advice me.   MyService service= new MyService ();        System.Net.CredentialCache cache = new System.Net.CredentialCache();        cache.Add(new Uri("http://10.1.23.4/gss/myManagerService.asmx"), new    System.Net.NetworkCredential("muusername", "mypwd","mydomain"));        service.Url = "http://10.1.23.4/gss/myManagerService.asmx";        int cnt = 0;        myrec[] records = new myrec[0];                AccRecord oaccRecord = new AccRecord ();                               DateTime enddt = DateTime.Now;       

domain based webservice connection problem

  
When I try to connect domain based webservice from my system getting "The request failed with HTTP status 401: Unauthorized" error .What could be the problem. When i browse the service from browser(http://10.1.23.4/gss/myManagerService.asmx) i can see the service output but when i try to connect from my below programe getting 401 error. Please advice me. MyService service= new MyService (); System.Net.CredentialCache cache = new System.Net.CredentialCache(); cache.Add(new Uri("http://10.1.23.4/gss/myManagerService.asmx"), new System.Net.NetworkCredential("muusername", "mypwd","mydomain")); service.Url = "http://10.1.23.4/gss/myManagerService.asmx"; int cnt = 0; myrec[] records = new myrec[0]; AccRecord oaccRecord = new AccRecord (); DateTime enddt = DateTime.Now; DateTime stdt = DateTime.Now.AddDays(-10); service.Credentials = cache; MessageBox.Show("service"); records =service.ReadRecord(records , stdt, enddt);// here taking some time and throwing 401 eroor

domain based webservice connection problem

  
When I try to connect domain based webservice from my system getting "The request failed with HTTP status 401: Unauthorized" error .What could be the problem. When i browse the service from browser(http://10.1.23.4/gss/myManagerService.asmx) i can see the service output but when i try to connect from my below programe getting 401 error. Please advice me. MyService service= new MyService (); System.Net.CredentialCache cache = new System.Net.CredentialCache(); cache.Add(new Uri("http://10.1.23.4/gss/myManagerService.asmx"), new System.Net.NetworkCredential("muusername", "mypwd","mydomain")); service.Url = "http://10.1.23.4/gss/myManagerService.asmx"; int cnt = 0; myrec[] records = new myrec[0]; AccRecord oaccRecord = new AccRecord (); DateTime enddt = DateTime.Now; DateTime stdt = DateTime.Now.AddDays(-10); service.Credentials = cache; MessageBox.Show("service"); records =service.ReadRecord(records , stdt, enddt);// here taking some time and throwing 401 eroor

MSMQ HTTPS Connection problem

  
  We are communicating between two applications over HTTPS MSMQ using SSL certificates. One application runs on Windows Server 2003 while the other runs on Windows Server 2008. The connection works fine and we are able to communicate between the two applications. However, the communication channel is unpredictable and unreliable and once in a while it gives the following errors- 1) Sometimes, the status of the queues toggle between "Connected" to "Waiting to Connect" in intervals of 2-3 minutes. 2) Sometimes, the status of the queue at one end goes to a steady "Waiting to Connect" state. This problem happens suddenly without making any changes to the system. The resolution to this strange issue has been- 1) Sometimes, restarting the services resolves the issue. 2) Sometimes, the security certificate uninstallation and reinstallation corrects the problem. 3) Sometimes, uninstallation and reinstallation of MSMQ itself is required to resolve the problem. 4) Sometimes, it does not get resolved even after applying all the above three options! Can somebody point out what might be going wrong? What needs to be done in order to get a steady reliable communication channel over HTTPS MSMQ? Do we need any patch or hot-fix or is it a known issue?   Thanks a lot, in advance... Code Sailor

Bizare sql server connection problem...

  

HI, does anyone have any ideas...

 

I have created a BDC application in VS 2010, and installed it on the sharepoint 2010 server and I am at a loss to explain the behaviour.

I create an external list using my application as the data source. When I open the sharepoint site and access the list from a browser on the sharepoint server itself, everything works fine.

However, when I access the sharepoint site from a different machine, my BDC application reports a failure to open the SQL Server connection (Error 40  - could not open connection to SQL Server).

However, if I access the list from the server (which works), and then access the list from another machine, the remote machine now works, and will work for a short while before reverting to error 40. I am assuming that this is because the connection has been opened when I accessed the list on the server, and then the remote session is picking up the open connection in the pool, because if I then wait a couple of minutes for the connection to time out and try accessing the list again from a remote machine the connection then fails again.

It does not matter who I am logged in as (I have tried being a normal user on the server and an administrator on the remote machine, and visa versa), but the behaviour is consistent. Also, my connection string in my BDC application contains a

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend