Failed To Add Table Adapter in XSD - visual-studio-2010

I am running with an weird issue, I have an existing SXD project in my solution. I am just trying to add a new table adapter to it but after I am done with all the steps (specifying connection string, SQL query etc); hit finish it fails with error
Failed To Add Table Adapter -- Unable to find connection string
"testcon" for object settings.
But when I check the setting.settings file OR App.config I can see the testcon connection string is present right there and it's correct. Then what's wrong?
Tried searching in MSDN forums (AND) Google but no luck.
Have anyone faced this issue before? Any idea how can I fix this? IS this a VS Bug?
NOTE: I am working in VS2010 SP1.
Thanks for your help.

Exactly not sure whether it's a VS bug or not but I resolved it.
Somehow, felt that the connection string under "Settings.Setting" file have been messed (OR) corrupted. So ended up removing all the connection string and recreating them afresh. It's did worked perfectly.
Hope this helps to someone.
Thanks.

Related

Getting "Could not find stored procedure 'dbo.AuthCookies_Update' " Error When Running DNN from Visual Studio

Im trying to run DNN 9.4.1 from Visual Studio.
And Im gettin the following error;
"progress":54,"details":"ERROR:Could not find stored procedure dbo.AuthCookies_Update"
Firstly Ive created dnndev.me database and Ive checked and completed the permissions.
Ive created an app pool on iis named dnndev.me and Ive set the path like ...\Dnn.Platform-9.4.1\Website
Ive checked the folder permissions.
After that Ive run the project from Visual Studio.
In the first step Ive filled Account Informations properly.
In the second step when creating stored procedures, dbo.AuthCookies_Update couldnt be created
error-capture
The way Ive tried to solve the error but I couldnt success is;
Ive created a new database with the same name (dnndev.me) and the same permissions
Ive created an app pool with the same name and the same path with controling folder permissions
And I've commented the lines following on the Visual Studio
( ...\Dnn.Platform-9.4.1\Website\Providers\DataProviders\SqlDataProvider --> 09.02.00.SqlProvider file)
commented-lines
Before running project on Visual Studio I've create that procedure on SSMS and it has been created successfully
succeeded-command
Then when I run the project Ive got the same error and when I checked the database I couldnt see dbo.AuthCookies_Update on the Stored Procedure files
Ive checked out about this error, its a common error I guess.
I hope there is someone who can help me to solve this.
Thanks in advance
I'm not quite clear on what you are trying to do.
Are you trying to compile and run DNN with VS? If so, you probably need to do some other things, too. Building DNN is not recommended. So ... what exactly are you trying to do?
I'm not sure why you are looking for that stored procedure, unless you are looking because the error is that it doesn't exist?
When you "install" DNN, it builds out the database with tables, stored procedures, etc. That is the first step of doing an install, and it's not going to run unless you've installed it properly.
To install DNN on a local machine, give nvQuickSite a try. It will do all of that work for you.
Still, why are you doing this with VS? It's really not the thing to do. But, it might make more sense if I understaood what you are trying to accomplish?

Cocoapods the document ".xcworkspace" could not be opened

I tried to install some Pods into my Project.
I kept getting the error message:
The document "S&J.xcworkspace" could not be opened.
The issue was that my Project name contained the &. I created a new project with a different name (without the &) and everything worked fine.
Hope this helps someone.
Thanks.. This actually helped, spend several hours figuring out why my .xcworkspace wasn't opening, only to read your post and found that was making the same mistake of having & in my file name... Changed the name and boom, like magic, app running like a champ.. :)

VS 2010: TFS throws pathLength exceeded on ALL files even though path length is less than 260

I have an infuriating problem that occurred recently.
Whenever I try to add or rename a file in any of the projects in my solution, or even the solution name itself, I get the following:
Error
TF10210: Source control encountered an error during move
operation: Unable to rename
C:\xxxxxxxxvisualstudio.com\xxxxxxxx -
Rigg\src\xxxxxxxx.Rigg.Domain\Area.cs to
C:\xxxxxxxxvisualstudio.com\xxxxxxxx -
Rigg\src\xxxxxxxx.Rigg.Domain\Area2.cs
Specified argument was out of the range of valid values.
Parameter name: pathLength
(I've replaced the names of mine and the client's company with x'es.)
The thing is, up to last Friday I never had this problem, I've been working on the solution for more than 6 months.
I have not renamed or restructured the solution folder recently.
I've tried deleting the solution folder and getting an earlier checkin from before this happened, with no luck.
I do not get the message if I open the solution in VS2013, which leads me to believe the problem is related to VS2010, and maybe doesn't have anything to do with path length. Unfortunately I can't work on the project in VS2013, as it is MVC3.
Any suggestions?
EDIT:
Solved. I changed the solution's mapping, and it worked. Then I changed it back to the original, and it still worked! I have no idea why this happened, but apparently fiddling with the mapping solved it.
Here we have Dynamics AX 2013 R3 CU8 with the same error:
Team Foundation Server nonfatal error
Specified argument was out of the range of valid values.
Parameter name: pathLength
Can you please describe a bit more detailed how you have fixed the error?
We inadvertently broke VS2010 compatibility in our latest update. We rolled out a fix over night. Let me know is you still hit it. Sorry for the trouble!

XCode not saving files

I'm not able to save any file with xcode , 'm getting the following warning when i save/run the code "The document XXXXXX could not be saved. You don’t have permission. To view or change permissions, select the item in the Finder and choose File > Get Info.". I have tried all the solutions provided in other questions for this issue, but that does not help. Does anyone have a solution for this ?. Everything was fine till last week and this week, I installed JIRA and mysql after which I started facing this issue. Not sure if JIRA & mysql installations has caused this issue, tried uninstalling these, no hopes yet :(
This is a problem with permissions on your mac, to solve this issue, try reset permissions of your user by using this tutorial, if it didn't success, use this solution to resolve the problem.

OracleSetviceSID stops itself

I have oracle 10.2.0.4 version..Some days before everything was well..but after changing tnsnames.ora file(I had just one SID of database,which is located on my computer.Then I have added SIDs of other databases which are located on another servers) OracleServiceSID stops itself after a while and user is automatically disconnected...How to solve this problem?I want OracleServiceSID to remain started...
After searching on the internet I found the following:
Start->All Programs->Oracle..->Configuration and Migration Tools->Administration Assistant for Windows
Collapse the following folders:
Oracle Managed Objects->Computers->Comp_name->Databases->SID<-right click->Start Service
File->Save
And after that everything works fine...Maybe It is a solution or temporary solution..Not sure..
You should need to investigate why this issue occurred to prevent this issue in future too. Check event viewer for further investigation of issue.

Resources