.net - Error In Deploying Asp.net Project?
Dec 3, 2011
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
[Code]...
View 1 Replies
ADVERTISEMENT
Jul 6, 2011
Is there any literature which guides a user through the steps of deploying a vb project created with VS 2010 Professional and incorporating SQL 2008RE Database?
I have a VB project which incorporates 2 databases - 1 Access Db and 1 SQL Db. The project compiles and runs beautifully. However, after adding the databases in the project as existing items and deploying, the project opens/runs, but when I try to login the application I keep getting an error message telling me that the path to the .mdb (Access) database is not a valid path. I don't have a clue what else to do.
View 19 Replies
Oct 26, 2011
I have a project that uses web references to make SOAP calls to several web services. When I'm working locally, the services are hosted on my local machine, so the URL of each web service is something like [URL]. When I deploy the project to a server, the URL needs to change to the production URL. Currently I am accomplishing this with a prebuild event that does a find-and-replace on each URL and overwrites it with the deployment URL before deploying. Surely there is a better way.
View 1 Replies
Feb 22, 2009
When I reference the com-enabled .net dll in a VB6.0 project, how do I make an installer so the com-enabled .net dll will be registered on target machines? It seems I cannot use regsvr32.exe itself to register it so I have doubts that using the P&D wizard will not be able to properly register it.
View 1 Replies
Jun 5, 2011
how to get my compiled program onto another computer. I'm using Visual Studio 2010 Professional.
I've read and tried ClickOnce deployment and Setup Installer, but I'm not getting it right.
With ClickOnce, I manage to install the program and it has the menu item and icon in the Start menu, but when I try and run it, it tells me that it can't find the text file. I put the file in the bin Debug and Release folders, selected 'Build' then 'Publish' and still no go.
I tried the other option of creating an Installer (using [URL] as my guide), but I get the same error - the txt file can't be found.
I've done this several times, but just can't seem to get it to work. Other resources online, like YouTube, just cover a project that doesn't include a text file or database file etc.
View 6 Replies
Mar 25, 2011
I am ready to deploy my vb.net project to my client computer.In my development computer I have crystal report 9, sql server express and .net frame work 3.5 installed.My Client computer hasn't got anything installed there.I am trying to making msi installer so that it will be easy for my client to install.I created the new solutions -> setup type project, added the project on it and build it.it successfully created the msi installer but it doesn't installs the sql server express and crystal report.How do i make the installer with crystal report and sql server and also with db
View 1 Replies
Aug 31, 2010
When a user click the .msi, i want a folder called "Your Files", which comes with two small images by default, to be created in C:UsersYourNameDocuments. In short, MyDocuments.
What i did is put the following code in program.cs:
string myDocuments = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
string downloadArea = System.IO.Path.Combine(myDocuments, "Your Files");
System.IO.Directory.CreateDirectory(downloadArea);
Just before:
Application.Run(new mainForm());
The problem is, this folder will be created every time the user runs the application which is not a good solution, also in this case there is no place to load the two images so it can be loaded while the folder is created. I want the folder to be created once preferably while installing the application, so even when i uninstall the folder "Your Files" and its sub files be deleted automatically along with the program files. I tried to do it via Setup Project, but i couldn't.
View 1 Replies
May 2, 2010
i have a project and i used NSIS to create a Setup file. I am able to install it to my system but some parts of the program do not work (and they work when i run my project in VB). For example i have a Back Up option that creates a back up but this does not work when i run the application via the installation file. Probably it has something to do with the directories?
If System.IO.Directory.Exists(CurDirectory + "Backup Folder") = False Then
System.IO.Directory.CreateDirectory(CurDirectory + "Backup Folder")
End If
how can i make it work from the installation file? Do i need to copy something somewhere?
View 4 Replies
Feb 1, 2011
I'm trying to build a setup program using the built-in Visual Studio Installer. I'm using VS 2010 and working on VB.NET.For the most basic kind of program, I have an EXE file which works on a XML file (the XML file is treated like a database). So on a Windows 7 platform with UAC enabled, the best deployment is to install the EXE file in the Program Files folder, and the XML file in the application data folder, for security purposes of Windows. (Windows, now, does not allow creating/writing files inside the Program Files folder unless your application is running with administrative privileges).
So I have added VS Installer to my current project and have opened its File System Editor. So to create the above layout, I've added Primary Output to the Application Folder. Then I've added its shortcut to the User Desktop.Now I need to place my XML file to the application data folder. VS Installer gives the option of User's Application Data Folder, which is the %appdata% folder in the environment table. I need to access the All Users' Application Data Folder.
1) How do I access the All Users' Application Data Folder over here?
2) I tried using the User's Application Data Folder. It doesn't work. It doesn't create any folder in the %appdata% (e.g. C:UsersFarazAppDataRoaming). I tried to play around with various properties, like AlwaysCreate which is supposed to create a folder obligatorily. It doesn't create anything.
View 5 Replies
Jun 13, 2011
I have a finished app that when built runs fine on my PC ... its when i try to use the app on another PC in the building here it doesnt seem to be working right at all and im also getting an error
[Code]....
View 9 Replies
Nov 8, 2005
I got "Unrecoverable build error" when building setup project.I try the solution in [URL].. but did not work out.
View 1 Replies
Feb 22, 2011
Using MVC3 and Razor View engine, I created a VB.NET web application in VS 2010. This creates the default Account and Home Controller along with corresponding Action Views.Now if I open any vbhtml file I get the following error message in the Error List window.
Error 50 Syntax error. C:****MVC3AppVBViewsAccountLogOn.vbhtml MVC3AppVB
(See screenshot here http://www.flickr.com/photos/7672540@N07/5469248676/)
[code].....
View 2 Replies
Jun 12, 2009
How do I fix this error in Visual Studio? "The project file cannot be loaded. The application for project ... is not installed" I have copied a whole project onto my PC, both into My Documents/Visual Studio and into inetpub/wwwroot, but when I try to open the project in Visual Studio, it tries to open just 1 file .vssproj and gives me error messages, like : "The project file cannot be loaded. The application for project ... is not installed.". What am I doing wrong? The VS edition is 2005 as are all the projects aI am trying to load.
View 3 Replies
Apr 25, 2011
I have 2 projects, one built in VB.NET and another in C#.NET. I want to use certain functionality of VB.NET into C#.NET and hence I have added the dll file of VB.NET solution into C#.NET as a reference by browsing the dll from my system. Say dll name for VB.NET is myData.dll. In my C#.NET project I am trying to declare it as a namespace i.e. "using myData;" and its giving me an error of "Type or namespace name could not be found"
View 1 Replies
Jun 24, 2010
I have writen a program using vb.net 2005 and used SQL Server 2000 as the database. I also used DataSet to process the records. When I try to run the program on a peer-to-peer network it fails and returns the error message
System.Security.permissions.FileIOpermission, mscorlib, version2.0.0.0, culture = natural, PublicKeyToken = b77a5c561934e089
Then on the dialog box there was OK button when click on it, the error message
System.Data.SqlClient.SqlClientPermission, System.Data, version2.0.0.0, culture = natural, PublicKeyToken = b77a5c561934e089 failed
Was also displayed.
View 1 Replies
Jul 23, 2008
I am building an error log in a VB project. Is there a way to extract: 1) the name of the sub that a sub routine fails on? 2) what line of code a sub routine fails on? 3) what other items can I extract that are meaningful?
View 2 Replies
Jun 17, 2009
I'm building a vb.net database program and have run into a small problem that I have not been able to figure out.Imports System.Data Public Class Form1
[Code]...
the line "dataAdapter.Fill(dataSet,"Address") " will cause an error when the program is run. "Syntax error in query. Incomplete Query Clause." is the error shown. If I comment that line out the program runs perfectly. Everything that I have seen (and gone by as a tutorial for Database work) has shown that line of code working fine. have I missed something?
View 2 Replies
Mar 9, 2009
When I try to add item -> select Database -> this is my error: <cannot open log for source 'vbexpress' , you may not have write access>I have checked my permissions under the security tab for each poss program SQL2008 and VB.Net 2008 Express, also have opened the VB.Net Express as admin, none of these fix it.
View 1 Replies
Sep 21, 2010
I went and builded it found all the files in the Debug folder after that i pack it down in a zip and send it over either skype all of this is fine and before i send it i check that i am able to open the exe on my own computer which i can now this is where it fails when my friend trys to open the exe it gives him an error saying: you do not have the right version of .net
View 4 Replies
Jun 3, 2012
I keep getting this error when trying to debug my project, I'm not sure if it is the same for all projects or not, but it's very annoying.
View 1 Replies
Jun 11, 2009
So every time I try to start a new project i get an error: No template information found.See application log in Event viewer for more details. To open Event viewer, click Start,click Control Panel, double-clickAdministrative Tools, and then double-click Event viewe
View 2 Replies
Sep 9, 2011
Run project error from VB2008?
View 3 Replies
Nov 11, 2011
I am studying HND software developement, in this course we use VB6, I have managed to run it just fine for a few months, now all of a sudden I get this error. No one in my class is able to help, not even the teachers.
error while trying to run project: unable to start debugging the version of clr.dll in the target does not match the one mscordacwks.dll was built for.
View 11 Replies
Dec 20, 2010
Public Class ExtendedDateTimePicker Inherits DateTimePicker
View 5 Replies
Feb 10, 2012
i would like some advice on how I would go about deploying my application I coded with vb.net and access.The problem I have been facing is that I cannot install it on another machine . It gives me an error saying that It cannot find the database in C:\Users\Weighbridge2\AppData\Local\Apps\2.0\Data\. database.accdb when you install access runtime and access runtime sp1 and copy the database to that location then it works.Is there a more efficient way of going about this. I suspect it has something to do with the refferences and prerequisites but up to now i've tried almost all we know .
View 1 Replies
Jun 6, 2011
I have designed a simple form in vb.net with MsAccess as the backend .The form is used to search for a data and diplay it.I need to create an .exe file of it and distribute it to many users without any errors .I have surfed a lot in search of deploying such applications but ended up nowhere . deploying my application(VB.NET with MSAccess) by detailing me all aspects of deployment ?
View 6 Replies
Jul 10, 2009
I have just completed an app, but i dont want to inculde the redistributable framework... What .dll(s) are required with the apps(so no framework is required)
or can i just integrate framework and my app into 1 setup.exe.
View 7 Replies
May 31, 2010
I have made a Database application using SQL Server 2005 and Visual Basic (V Studion 2005). The problem is: the SQL server name on my PC is different from the name on my brother's PC.....i want to run the application in his PC......however, all database adapters, objects i have used are linked to my SQL server...hw can i run my application on my brother's PC, with minimum changes and effort?
View 4 Replies
Jun 22, 2011
I have been getting an error when moving my application from my local machine to a web server. (I have not been getting the errors on my local host)[code]The first of the exceptions is the first error that came up using SQLOLEDB.1 as my provider, I started playing around with different providers and got the second 2nd exception.
View 2 Replies
Aug 5, 2011
I am developing my application using d3dx functions. but when I deploy it to a fresh PC (which has no SDK installation) it doesn't run.
View 1 Replies