I have edmx-model that have been created on another computer.
On another computer creation SQL-DB was successful.
After import edmx on current machine - I have been deleted next files:
model.designer.cs
model.edmx.sql
Then I select - generate DB from model.
model.designer.cs and model.edmx.sql then regenerated.
But when I try to open model.edmx.sql file in VS to execute it - nothing happens.
Just blank work area in VS and nothing more.
What should I do?
Thanks.
Please try right clicking on the SQL file, select 'Open With', then select 'Notepad', and see if the file opens in Notepad.
[EDIT] The thread here seems to have a solution.
To paraphrase:
To fix the issue of not being able to load the RadLangSvc.Package here is what you need to do:
1. Load up your ISO or DVD VS2010 Installer in an explorer window
2. Go to the WCU foldler
3. Go to the DAC folder
4. Install MSI's
i. DACFramework_enu.msi
ii. DACProjectSystemSetup_enu.msi
iii. TSqlLanguageService_enu.msi
Related
I am trying to open a folder that I opened before, but it crashed.
I can open other projects, and restarting the computer didn't help.
Maybe it's because I had a big file opened (400mb) in this folder, but I cant close this file because the vscode crashing every time when I tried open the workspace..
https://github.com/microsoft/vscode/issues/126127
https://github.com/microsoft/vscode/issues/130375
I had the same problem.
Just delete the folders under %appdata%/code/backups/ and restart VS.
I solved the problem by restarting my computer and then opening VS code from a different folder.
To open large JSON files, I use Dadroit JSON Viewer, thus preventing the problem from repeating itself.
Not worry much about that!, same issue occurred in my pc but there is easy steps to fix this error as following.
solution: Enable "paging files" option OR increase virtual memory.
steps:
1). Right click on "ThisPC" or "MyPC" and go to properties. then go to "Advanced System setting". [ you can also find that using SEARCH button ]
2). then click on settings of Performance block. its open another pop-up window in that ,go to the "advanced" option .
3). you can see the Virtual memory section ,in that click on change button.
4). now first disable the checkbox of "Automatically manage paging file size for all drive".
-> and select the "custom size:"
-> in Initial size(MB): { you need to add the same value as recommended, which is also displayed downside section }
-> in Maximum size(MB): you need to enter the value that you get multiply by 3 of your allocated RAM size.
for example:
your pc's ram is 4 gb then you can enter 4098*3= "12288mb".
then set it , click ok, ok, ok, and then just RESTART your pc. 🥹
hope god will help you.
It's easy than you think, you just need to update your laptop. and try to use Vs code again you will see that it works.
ERROR:"System.Collections.Generic.RandomizedStringEqualityComparer 不是 GenericTypeDefinitiono。只能对Type.lsGenericTypeDefinition 为True的类型调用 MakeGenericType。"
1.It works well when I open the software
2.I was trying to set up a new win32 console program
3.I click the third botton "完成",which means compeletment
4.Then it will display the error information.And the file will be created but cannot be opened
For reference, this happened to me in VS 2012 because something corrupted Update 4, reinstalling it fixed the problem.
I am using a Visual Studio 2013 Installer Project to install/update my C++ app. In order to update the client database I am installing the new master database under a temporary name. When my app starts it checks to see if the temp file is there - if present it runs the db update function and removes the temporary when done. The problem - when my app is then started, the user gets "Windows is configuring ... " because the temp database file that was installed is now missing. There is no property to control this in the VS installer project. In Orca I have found the row in the FeatureComponents table that sets DefaultFeature for this file. The event list tells me it is DefaultFeature on this file that triggers the behaviour. If I remove that table row in Orca, the file doesn't get installed. Does anyone know the correct method for me to use to install a file that I can subsequently delete without any consequence?
The official way to do this has no support in VS setup projects. You need to set the component id to null for the file you are going to remove after the install, see the ComponentId column:
https://msdn.microsoft.com/en-us/library/aa368007(v=vs.85).aspx
so you'd need to edit the MSI file with Orca to set that guid column to empty for that file. If you look at the Component column (starts with C_) you'll see that in the Component_ column of the file table, that should help you you find it.
Other methods are unreliable (because, for example, there are other ways a repair can start and attempt to restore the file).
I am getting this error while installing oracle 11g enterprise edition on windows 7 professional 64 bit. I checked the registry as some people have mention but the correct thing is already there. If try starting the service from Services.msc it says the service wss not found also
I ran into this same issue and this solved it:
When you get the error pop-up, leave it opened, open regedit and modify the ImagePath in the following key to point to the proper location:
computer\hkey_local_machine\system\controlset001\service\OracleMTSRecoveryService
The proper location may be something like this:
C:\app\myaccount\product\11.2.0\dbhome_1\bin\omtsreco.exe
All credit to:
http://yuanmengblog.blogspot.com/2011/08/oracle-standard-db-install-issue-with.html
The oracle download was split into two parts.
If you tried to install with only one part it will show many bugs and after installation oracle won't work.
Download two parts of oracle from the official site and extract in same place. The files will merge automatically into the same folder.
Now install the oracle. If you already installed the oracle once. It should taken some path like below.
In my system it took "E:\app\INDP\product\11.2.0\dbhome_1..."
If you are installing second time installation will take path, "E:\app\INDP\product\11.2.0\dbhome_2..."
Now the above erorr will come because of registry.
So, now yo need to edit the registry value like below.
ctrl+R will bring the run window. Type regedit and press ok
Then Under Computer, select HKEY_LOCAL_MACHINE -> SYSTEM ->ControlSet001-> Services -> OracleMTSRecoveryService.
Double click on ImagePath. It will prompt a window with old path or with wrong path under value data.
Now, you need to edit it with your curent path like below.
E:\app\INDP\product\11.2.0\dbhome_2\bin\omtsreco.exe OracleMTSRecoveryService
Now press "retry" button of the window, which shown that error. Now, it will work like charm.
I have a very simple VS2005 deployment project that aims to install for all users on a PC.
All the application files are written to %Program Files%\MyProg. A shortcut is created in the start menu and the startup folder. No registry settings or anything else are created. I have set
'InstallAllUsers' to true.
The created MSI runs fine and installs the software. It works without any problems when running under the user account from which it was installed.
When logging in as another user, the start menu and startup icons are present. It attempts to launch the application however an installation window pops up and states that 'the feature you are trying to use is on a network resource that is unavailable.' The installer will only proceed if pointed to the original MSI file.
Why does this happen? I want my application to be installed completely for all users when it is installed by a single user.
edit: Solution
I was getting similar event log messages as shown on this page. In my case it turned out to be as simple as ensuring that the User's Program Menu had its 'AlwaysCreate' attribute turned to false. If it was true, windows would try and recreate the folder when a new user logged in. This somehow required the invocation of the installer and thus resulted in the 'please insert the installation media' prompts.
It is actually kind of hard to say without some more information. I would recommend checking on the rights in the installed folder (seeing if only the one who installed it has rights) and also checking the file list for the directory (to make sure VS didn't automatically place some files in the user profile). Let me know what comes out from those two steps and we can try to keep digging if that didn't shed any light on it.
Keep in mind chances are this is most def not specific to Visual Studio, look at this MS support article here where the same message is coming back for office.
I know this is an old post but I thought I'd add another cause and solution in case the above didn't work for you.
There is a bug in VS Setup and Deployment Projects which results in registry values being entered into HKCU instead of HKLM irrespective of the InstallAllUsers property being set to true.
You must use Orca msi editor to change the registry root for "DesktopFolder" and "ProgramMenuFolder" from either 1 or 2 to -1. The issue cannot be resolved via VS.
http://www.qa.downappz.com/questions/vs-2010-deploys-per-user-features-during-install-which-require-access-to-install-media.html