I just had some issues with my computer. I ran system restore a few times and it fixed the issues. The technician at the PC repair place said he didn't know what caused it but that it was most likely an issue with the registry. System restore seems to have fixed my pc because now it runs correctly.
This created an issue with a project that I was working on in VS 2008. When I started VS it gave me a message that it was configuring itself, because this was the first time it had been run. This makes sense with what the guy told me about running system restore.
The issue is that the project I was last working on has a bunch of errors now. It had none before the PC issue but it now has 24. They pertain to the aspx.cs and the aspx.designer.cs files. They all have the same basic error which is:
Error 1
Source file 'C:UsersxDocumentsVisual Studio 2008ProjectsWeb AppsMSDN 3 TierMSDN 3 TierCustomButtonsCustomButtons.aspx.cs' could not be opened ('Unspecified error ')
MSDN 3 Tier
I had something happen with my pc and had to do a system restore. This has caused some of the files in my project to be deleted. Is there a way to recover these files?
Is there anything I can do to prevent files from being deleted in the future if I ever have to do a restore again?
1. i have created aa database named "qraghul" which contains two tables. i want this database to backup from my system and restore it to the host server or any other system. how i can do it.
2. suppoose if i backup and restore it to any system or server. whether i have to change the connection string in my application eg Data Source=QUANO-462F6EB27;Initial Catalog=qraghul;Integrated Security=True bcoz my server name is QUANO-462F6EB27 whether i restore it to any system. i need to change the server name?
I am deploying my first ASP MVC project. The project runs just fine, I would like to take the next step and run this outside of my visual studio environment on my local IIS. I am running Windows7, Visual Studio 2008, and I have created a basic ASP MVC project. On my solution, I find the project I would like to deploy. I right click and select Publish. I have backed up C:inetpubwwwroot and would like to deploy there. I accept all defaults, and click the "Publish" button. The Output Build window shows 1 project failed.
Basically is says that it is unable to add any of the binaries to the site, copy files, create new directories. Access is denied. When I do click "Publish" at work, I don't get these errors. What do I have to do here to publish the website to make the website available to the rest of my home network? Also wwwroot appears to be readonly, but telling the folder to not be read only doesn't seem to help, it still appears to be readonly even after I've unselected this property in the property dialog.
There has been a suggestion that on Win7, you launch VS2008 as an Admin. While this does appear to work, I find it hard to believe that this is the "way" you do it.
I'm having trouble moving a website from one server to another. It seems to be a problem loading multiple versions of System.Web.Extensions. The code uses version 3.5 in most places but a third party control appears to be needing version 1.0.6. I didn't think this was possible but it appears to be working in it's current situation.
Is there a way I can use the GAC version of System.Web.Extensions for the site but import a dll of version 1.0.6 just for these controls?
i have winxp sp3 I have been using windows Install cleanup on vs2008 because I couldnt load setup on vs2008. Now I find I can run setup but I create create asp.net web pages . I click new webiste and get this error 'project system components not installed' on vs2008 this didnt do a thing i still have the same problem
* Go To : start | Run
Type the command mentioned below
* devenv /resetskippkgs
nope didnt work at all
before this happened i iuninstalled vs2008 express editions as I have vs2008 prof, I installed sql server 2008 express
I have tried to deploy a project using Windows Installer Deployment. And Successfully installed it in computer. But it is unable to connect with the Database in my system. Earlier the same project worked from my Visual studio but it is not working after the deployment.
Does anyone know what could be the reason I am not able to add reference to System.Web. It gives an exclamation(!) symbol in front of the dll under reference folder in VS 1020. I wand to refer to System.Web.Security.MembershipProvider class.
Presently we have converted a project from vs 2005 to vs 2010,
we have using typed dataset as our business object in separate project
after converting that dataset to vs 2010 dataset, datatable is been changed to System.Data.TypedTableBase<dataRow>,
because of that all project getting error saying method/properties not found default method/properties provided by datatable like select,rows, columns.. etc. are not able to access outside that project, but can be accessed with in that project.
I have defined the following control which serves as a wrapper for another control (simplified code):
[code]....
Can anyone provide any insight as to why it is failing in one environment, but not the others? Is this something related to configuration? The user control is hosted within a "SmartPart" style user control loader which is being used on a WSS 3.0 site in the DIT/SIT/UAT environments.
I am working with a website project here that was created by a 3rd party and trying to implement some localization functionality.
Since there is already a LocalizationModule existing but we do not want to use that kind, I though about using ResourceManager to Translate parts of the site.
Basically the project tree is something like this :
I got following error. my project is on Server machine when i try to add any AJAX control and try to build my project.We have SERVER 2008 Enterprise. Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
When I turn on Code Coverage in my test settings, on a project that references the Unity DI container I get the following error:
Cannot initialize the ASP.NET project'{Project Name}'.
The event log specifies the following reason:
Could not load file or assembly 'Microsoft.Practices.Unity, Version=2.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name signature could not be verified.
I have use Nhibernate in my MVC Project by me known, Nhibernate have cache on Session and Object. now, I want use HttpContext.Current.Cache (system.web) for cache data something in project. my code same that have problem, haven't it. and that's right or wrong.
i want in my admin part of site bakcup and restore my database by programing i can backup by store procedure but how can i restore it because it needs that database become offline.how?
I could do backup and restore mysql database at my web application run time with VWD 2008 Express. But I test these with IIS, any web browser's progress bar is not increased. My code is the same with this link - URL] . Here, Some facts that makes it not process - I think
My database admin has no password. At run time with VWD, Command Prompt appears and ask to enter password. With IIS, this not appear.I run VWD as a admin. So is there any security with IIS?Finally, we will use this web application with Remote or Virtual Server. Now we could access this application from Remote Server via any web browser. So I test this backup portion but it not work. Here, I give the file path - D:DB - that is valid in my client or current pc but IOException generate message 'Device is not ready.' Drive D is not in Remote Server. So I change Drive E: that is valid in Remote Server. This time, Run time error appears and Description is "An application error occurs on the server...". I think that any client can save backup file under his current pc.
I have create a setup project. I have done everything what i need. Now i want to include one thing. That is i am have sql database backup file(Test.bak).
i want to restore that file while my installation is in process.
So what are the steps should be included in the packaging process to restore the database Test.bak in sql server?
I want strore a xml file in registry and after restore it.Do it possible?i try create with this code But it Not Responding?!what is problem?enter code here
public partial class Form1 : Form { public Form1()
- I am Using VS 10 Professional, Vista Ultimate, Asp.net 4, Mvc 3. Razor View Engine.
- Attempted to install a Third Party , only one, Control "Poll Control" to a project that I am developing.
- However, the third Party installation program downloaded all their controls,that I didn't ask for, created a new folder in the Toolbox and listed all their controls under the heading of the new folder.An intrusive action that I don't need and didn't ask for.
- The Razor engine, that I am using to develop my program, doesn't support Design View and deals only with Source View.
- However, the Third Party's Controls need Design View to be activated. As a result, the installation program appears to have caused the following:
1- All their Controls appeared grayed and unusable in the Toolbox.
2- All other Controls in the Toolbox are grayed as well.
3- I properly un-installed all their Controls as well as their heading, however, all the other Controls are still grayed and unusable.
- This graying out appears only under the " Lazor Engine"
- All the Controls of the Toolbox appear and function properly under "Aspx. engine", Where Design Views are provided.
- I tried everywhere, for about a week,to find a solution without any success. I went as far as un-installing Visual Studio and re-install it again, without any success.
- I Contacted the Third Party Support Department and I received the following response:
" This is not something we will help you with. You will need to contact MS or other resource to find that out. We only support our product, we do not have the in depth knowlege about how Visual Studio works. "
MY PROBLEM.How can I restore the functionality of all the Toolbox Controls?