Trouble with SQL datasource control, "Cannot get web application service"

Hi,

I am working with the time tracker starter kit and learning allot.  When I drag a SQL datasource control on to a web form and select the "Configure Data Source" smart tag.  I get an error.  The error reads "...while getting connection string information from configuration "Cannot get web application service."".  I tried pasting a connection string into the HTML but I still get the message.  When I drag a table on and the SQL Data source is created autoimatically it works, but when you try to look at the copnfig wizard the error occurs.  Could this be a permissions issue?

Also, why are there three connection strings and two web.config files?

Any help would be appreciated.

Mike

0
BasketballMike
3/12/2007 9:35:13 PM
asp.net.time-tracker-kit 398 articles. 0 followers. Follow

5 Replies
829 Views

Similar Articles

[PageSpeed] 56

It sounds like your suffering from the same bug that everyone else has in the this thread.

 The solution is to shut down VSD and then repoen your project.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=183026&SiteID=1

 

Hope that helps

rwiethorn

0
wiethorn
4/5/2007 7:09:46 PM
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=149627&SiteID=1
Chetan Sarode
Software Engineer,
Approva Systems Pvt Ltd,
Pune, India.
0
chetan
4/26/2007 3:42:00 AM
or try to install VS SP1, hope it will solve your problem...
Chetan Sarode
Software Engineer,
Approva Systems Pvt Ltd,
Pune, India.
0
chetan
4/26/2007 3:43:03 AM
Really it works thank you
0
gopal1331
3/4/2009 6:21:52 AM

Glad to know it helps you


Chetan Sarode
Software Engineer,
Approva Systems Pvt Ltd,
Pune, India.
0
chetan
3/5/2009 3:22:45 AM
Reply:

Similar Artilces:

Please compare "web service" and "remote services"
Somebody, please tell me the different beetween "web services" and "remote services". So, "web services" and "remote services" which one is better? Please tell me This might provide some insight. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetremotearch.asp The really question at hand is what kind of project? Frank ...

A "Web Application Project" for web-services ?
I was wondering if there is something analogous to the "Web Application Project" VS add-in for Web-services. By analogous I mean: 1. All the source files in a Web-services project is compiled into a single assembly, perhaps with the exceptions of the .asmx file 2. Property pages for the project in VS display all the tabs that are available in other kinds of projects - i.e., for example, ability to specify pre and post build events, the XML documentation file etc. I really appreciate any help. Cheers, Adrigo Yes, the current release supports creating an "ASP.Net Web Service Applica...

Javascript inside "web user control" not run if load "web user control" under ajax UpdatePanel
I have this problem and please if some can help me, I place here a sample code to see, but in my real problem the web user control have a very complicate javascript. I have a web user control that have some javascript inside, let say for example.1 <script type="text/javascript" > 2 function RunMe() 3 { 4 alert("Client id:<%=ClientID%>"); 5 } 6 </script> 7 8 9 <a href="javascript:RunMe()">Run javascript</a> a simple call to a simple javascript, inside the web user control And now I have...

How To Set "Trial Application" and "Bound To This Machine" .NET application only
Hi, This is the first time I made a web application for a client. Since he has not paid me, what should I do so that the application will terminate within x days starting from the day I install the application in his server ? And is it possible to make application works on his server only ? I don't want the files copied without my permission.   Thank you very much for your attention.  ===================================Don't Quote And Flame Me If I Am Wrong===================================...

Get "Mail"/"Get "News" / "Write"/"Post" buttons?
If the "Get Mail" button text changed to "Get News", and "Write" changed to "Post" when TB's in the news-reading mode, it would save me and probably others from constantly forgetting to make the change before proceeding. :-) Or is there an extension to do this which I don't know about? Thanks! Bob Bob P wrote: > If the "Get Mail" button text changed to "Get News", and "Write" > changed to "Post" when TB's in the news-reading mode, it would save me > and probably others...

VS.NET 2005 is ignoring in web.config strict="true". I get no error when I try this: Dim x As Integer = "string"
Hello,I have this in my VS.NET 2005 web.config <compilation debug="true" strict="true" explicit="true">When I do this in my vb code:Dim x As Integer = "string"I get no error. When I hit compilation I also get no error. What am I doing wrong?Thanks for helping!Regards,J. Bauer It's a bug of some sort See this response by Scott Guthriehttp://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=3c1c9898-8076-4f69-a5e2-e99573d03c6e Unfortunately we don’t have a GUI based way to configure this. L It is something we will make sure gets added back in, though, with the next...

"Dynamic" Web Services, "Dynamic" Parameters
This is a follow-up discussion from http://forums.asp.net/t/1332722.aspx?PageIndex=2. I noticed we stopped talking about Peter's problem some time ago. The discussion had become one of passing "XML strings" to a web service in order to permit optional parameters, a dynamic web service, and things like that. My contention is that this is a solution without a requirement. It is something that we can do, which does not imply that anyone needs us to do it. First of all, if you need to send XML, then send XML. Do not send a string that happens to have XML embedded in it. ASM...

simple web service query
Hi all, Im following the 'Using the WebService Behaviour' document from the msdn Library and am getting the message 'service unavailable' when running my page. Is there something I'm missing? thanks, Pete mWeb Design Nottingham, UK...

What is "Web Service" (Begineer of .NET)
I have started few days before .NET.Earlier I am working on ASP. So I have decided to learn ASP.NET. I heard about the great thing Web Service on diiferenet site.But couldnt understand. How it can work.What is the purpose. From which refernce sites I can learn. Plz I need ur Assistance. See my article in below link, I did this for beginners, probably it will helps you! http://www.w3coder.com/ws/WSGWBook/WebServGW-01.XMLSreedharhttp://www.w3coder.orgweblog http://weblogs.asp.net/skoganti...

Trying to transfer a Web Service made in .NET aspx on my "localhost", to online and getting BC30002: Type 'localhost.Convert' is not defined. error
I think I get the general idea of this error.  The webservice works on my computer as Visual Web Developer somehow makes a temporary server out of my computer.  But when I try to FTP my full ASP page I get an error that localhost is not defined.  This makes sense as I am sure the web server for GoDaddy is not called localhost for me.  Now in my App_WebReferences folder in my program I have a local host folder that holds 3 automatically generated files which are somehow "calls" to a webservice that I built.  So I have the original files for the webservi...

what is the difference between "Application" and "Session" when you develop a web program?
 can somebody tell me what the differnce between "Application" and "Session"? when we are developing a web program?I know the Session meaing... what about Application? thanks Data stored in the Application is accessible for all users of your app while each user would get their own unique Session. Give this wiki article a read: http://wiki.asp.net/page.aspx/30/state-management/Mike Banavige~~~~~~~~~~~~Need a site code sample in a different language? Try converting it with: http://converter.telerik.com/ Hi Friend, Here is two difference between Session an...

Getting "" Instead of logged-in "UserName" From Login Control
I can't seem to access UserName from my "Login1" control.  Here's what I did: In Login.aspx.cs:      protected void Login1_LoggedIn(object sender, EventArgs e)     {         Session["User"] = Login1.UserName;     }  In Global.asax:      void Session_Start(object sender, EventArgs e)     {         string d = "Instantiating Variable Value";       ...

"Net use" not working in application that runs as "system"
Hello, I am trying to create an application object to distribute a program which during the setup procedure creates two local users on the workstation. I tried to set up the application to run as an unsecure system user and start the setup.exe. This method worked fine for quite a number of apps in the past. However this app needs a drive mapping to a windows 2003 server to start the setup.exe. Apparently under windows 2003 it is no longer possible to use the "net use" command when running a script as system user. I get system error 1312 "A specified logon ses...

Sometimes "~/" and other times "../" Why?
VWD 2008 Express.  Visual Basic. I have found that sometimes when I reference files (in aspx pages or vb pages) on the site from within subfolders, all I have to do to designate the path is say, "~/images/test.jpg" which I assume says "Go to the root directory, then to the images folder."  Other times I have to use "../images/test.jpg" to make it work (go up one level from this subfolder, then got to the images subfolder."  Why doesn't the "~/" convention work all the time?  Thanks for the help.Dr. Douglas PruiettGood News...

Web resources about - Trouble with SQL datasource control, "Cannot get web application service" - asp.net.time-tracker-kit

Resources last updated: 12/30/2015 8:22:14 PM