VS 2008 Web Deployment MSI Built On XP Works Fine, But MSI Built On Windows 7 Does Not Work?
Mar 24, 2010
I'm running into a weird issue that I can't find an answer for anywhere I've looked (and I've looked a ton).I built a web deployment project with Visual Studio 2008 Team System on my old Win XP machine. This has always worked flawlessly and installed everywhere. I can also copy this MSI to my new Windows 7 Ultimate machine and it again installs just fine.
HOWEVER, when I rebuild that exact same web deployment project on my new Win7 machine, also using VS2008, the MSI will build OK, but when I then run it to install my software I get a dialog box telling me "the installer was interrupted." Interestingly, when I built this MSI in my new environment one additional warning popped up during the build process, which was "Unable to copy the schema file '(null)'"After many searches and reading different web pages, I know this has to do with these two registry keys:
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudio9.0DeploymentSchema]
"DefaultMSISchemaFile"="c:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\Deployment\Vspkgs\..\VsdSchema\Schema.msi"
"DefaultMSMSchemaFile"="c:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\Deployment\Vspkgs\..\VsdSchema\Schema.msm"
Yet, everything checks out. All permissions are correctly configured, etc., etc.Then, when I enable the built-in administrator account and log in as that, and then rebuild this same web deployment MSI the "Unable to copy the schema file '(null)'" warning no longer appears. Then when I log back out, log back in as myself and then run this newly built MSI it installs fine, just like the original one that was built on XP.I also tried uninstalling VS2008 and re-installing it as the super user, but that also didn't change anything. And yes, I did also configure devenv.exe to run as administrator.
Has anybody seen this? Or is it a requirement that you can only compile deployment projects as the super user? That cannot be right.I've been thrashing for more than five days and for the life of me cannot figure this out. Of course, I can run as the super user when developing, but I thought the new security model in Win7 was designed exactly so you don't have to.
I want to import a DLL (built on VC) in asp.net, and I have a major problem in PRODUCTION Box (IIS 7 and Windows 2008 server). First: I want to say that this DLL works fine in my DEV Box with web application written in C#, and my development server (Win XP SP 3, .NET Framework 3.5 and IIS6). But when I upload my code (web application code + DLL) in PRODUCTION Box (IIS 7 and Windows 2008 server). Web application doesn't work with DLL any more. I am sure that Asp.net knows this DLL well, and if it did'nt recognize it would give me an error, but my problem is that my DLL does'nt works proprely when I run it in IIS 7 under Windows 2008 server. Do you know any solution ? Can it be something with the IIS 7 permissions?
downloaded a project from a site,the project was built by vs2005.I only have web developer express 2008, when I load the project,it converted the project and opened it but there is nothing in the project. the project is a MVC project, all folders/files are not in the converted project.can I open the project (built by vs2005) using exppress 2008 for MVC? if yes,how?
I am a complete novice at this stuff, but i have been asked to investigate why the menus on our web site might not be working properly when vied in IE8 or Google Chrome. The site was built in Visual Web Developer 2008 Express edition, could this be the problem? If so is there a way around it without having to upgrade to VWD 2010?
This is very strange behaviour from my login control - locally it works fine - But deployed to the web server (With an external hosting company) it gives a windows prompt, even though the authorisation is set to "Forms".Here is my web.config file:
I am creating a page which contains an updatepanel.
In this update panel there is a grid view in which there is a button. on click of this button i m showing a dialog box which takes some inputs and submits data.
However this all is working very fine untill and unless I use some requiredfieldvalidators to validate the input.
when i use validators, these validators works very fine bt the submit button on popup does not work.
I had tried to use validation group but it still does not work at all.
I have a windows service that calls a class library. The call to the Class library from the windows form application works fine. But from the service I do get the desired output. The event viewer does not report any error. The service was working fine until the recently when the server got remastered. Any suggestions what might have gone wrong?
I often come across some nice web sites and I want to know what technologies (PHP, JSP, ASP.NET, etc) are used to build those web sites.The web address of some web sites end with ".aspx", ".php", ".jsp", etc. But some web address do not contains any indicators.Is there any systematic way we can use to know the technologies used by a web site?
I was looking at the default register functionality within the MVC , to learn from it. So on the register view the found the following code for the regester.aspx button;
<p> <input type="submit" value="Register" /> </p>
But i did not understand how the visual studio knows what to do when the user clicks on the register button to perform the register functionalities?
I am working on a project for a client that started out as a simple CMS with pages, posts, and a directory. The client is constantly expanding the scope of this project with requirements for customization of just about everything. As a single developer, I am having trouble keeping up with the clients time-table. I have googled for software packages that might already exist that proved the features my client needs but I have not found anything. Does anyone know of any pre-built software that allows for the following customization or at least better words to describe this type of package?Here are some examples of the customization that is requested:
A page or directory listing needs to be formatted from an admin-defined template. Within this template there needs to be admin-defined sections that contain admin-defined data types. (This is so the look and feel of the site can be maintained while users can easily build content, add listings, and etc.)Advertising-tiles need to be able to be defined and populated globally and at page level.All user generated content, pages, posts, and directory listings need to be associated with user and have flexibility to show all other user generated content for inter-linking between same users content.Site would need billing/e-commerce system for premium listings, premium posts, advertising tiles, and etc.Approval system for all user added or edited content (pages, posts, directory listings, etc.)
This is my doubt.For example, select "Getting started" forum in asp.net site. It lists lots of threads.Whenever i click on the thread new page will be open. For example if i click a thread means it will opens a page "http://forums.asp.net/t/1535090.aspx" and if i click another thread means it will open other page "http://forums.asp.net/t/1535453.aspx".
My question is for each thread is there asp.net team maintains separate pages like (1535090.aspx, 1535453.aspx etc). Whats the logic behind this one?Please explain. I'm also try to want built the forum like this.
I have my project made from my pc and when I tried to open the solution from other computer, change the connectionStrings and run it. I'm receiving a message:
The source file is different from when the module was built. Would you like the debugger to use it anyway?
This appear when the program try to run my class, SqlHelper.vb. And when I select Yes, the program still uses the old SqlHelper.vb class (with the old connectionString).
I have a reporting module (C# asp.net) that uses dynamic controls to represent the varying parameters of the selected reports.The dynamic controls build and display fine (XML stored in SQL Server 2008 and XSLT for the transform into HTML).My problem is that I have a drop down list(not dynamically created) that contains the report names as text and the report id's as the value. This DDL posts back when its selected index changes. When the DDL posts back, a session and viewstate variable containing the selected report id is populated. I want to read this variable and use it to generate the dynamic parameter controls.
Is there any samples on how to use ASP.NET built-in templates out of the page, just for rendering text with params. For instance, to build email message.
I am taking some time to learn how to develop asp.net mvc2 websites, but I'm used to working directly off IIS instead of the built-in web server that uses the random ports when you hit F5.
but I've noticed that using the built-in webserver, requests fly and are immediate. I am using only the default project with the Home and About pages as it comes out of the New ASP.NET MVC 2 Project settings, no database connections, nothing beyond the base install...
but when I setup the IIS website and pointed it to the same directory, each request takes at least 3-5 seconds to complete, sometimes more. this isn't just the "load" on the first request. EVERY request takes this long on IIS. but if I F5 and test the project once again, everything zips and the responses are immediate.
i want to build clinet application who could get data from other APIs providers and make requests and responses. Note that the first API provider is nextstop [URL] allow searching about places ,resturants, hotels and more. Also, the second provider is transports for London [URL] I want to build interface using C# that get some data from these sources and make some requests and responses. I'm not sure whether i put my topic in right place?
I'm trying to add a IsImage property that I wrote myself to the HttpPostedFile class, so that if a user is uploading a file, I can do something like this:FileUpload1.PostedFile.IsImageHow can I do that in C#?
I built a cms system which use the aspnetdb and I made few changes on that database.I use it for login and registeration only , but today when I uploaded all the files , I realize that my hosting company use a prefix for the database name for example db1010101_*** so , is it ok to rename the database or I should create my own ?
btw I build my database on mssql 2005 and the hosting is 2000 so I will have some troubles :
When I use a compare validator, datatypecheck="String", and try to enter the following code to test, the comparevalidation doesn't catch it in time, and instead the browser pops up with an error saying the text is not allowed.
Is it possible to built a feature in a asp.net application which will let the user schedule things that would be run on the background?
For instance, say that there is a option in the application to send a email to every customer in the system on their birthaday. The user from the system could activate the option in the application, and for as long as the option is activated the system queries every day if some customers birthday is on that day and then send a email to that customer.
I think it has to integrate with the taskscheduler, but i don;t know how to integrate that dynamicly in a application
WCF service is running with 'wsHttpBinding' Binding. The application which gonna consume WCF Service is non-wcf compliance or in other words, it is on the top of Framework 2.0 and I can't use ServiceModel in this app (since only 3.5 supports ServiceModel).
how to consume above WCF Service in application built in 2.0?
I'm taking over a project built by other developers and they used Linq-To-Sql, which I've used, but not with stored procedures.
Most of them work, but some don't because the stored procedure returns a dynamic select statement. So L2S doesn't understand what return type to set for the stored procedure and it return an "int" instead of a "ISingleResult<some type>".
Even if I manually change the return type to what it should be in the data context and save (I know you aren't supposed to), the stored procedures revert back to the "int" return type. Is there any way to make them always return a particular type?