References Failing To Import To A VS 2005 (VB) ASP.NET Web Service Application Project

Aug 17, 2009

I have this VB ASP.NET Web Service Application project running VS 2005. I'm trying to add references. To do so I click on the "Properties" icon in the Solution Explorer window which presents me with a window to add/update/remove references. I click "Add", I select the reference I want and then "OK". Lo en behold, NOTHING! It simply won't add references (I tried adding several different ones). Specifically I'm trying to add the System.Configuration assembly.

[Code]....

View 1 Replies


ADVERTISEMENT

Visual Studio 2010 VB Windows Forms Application - Organization Of DLL Project References?

Mar 26, 2012

In my VS2010 VB project I have a lot of external references to DLLs, to the point that organization has become a major headache and I'm wondering if I am going about it the wrong way. My assembly references include common redistributables (SQL Server Compact 3.5 SP1, ReportViewer 2010 SP1, DataVisualization, as well as some useful 3rd party dlls from CodeProject and CodePlex.

Currently, I am copying each DLL into a 1st level folder (/dll_lib) under my named project folder (under the solution folder), and adding the reference from that path. However, I see that Visual Studio copies the DLLs to various other locations (/bin/debug or /bin/release) in my project when I build the project or solution, and some of the 3rd party DLLs come with instructions to copy them manually to /bin.

What is the "best practice" for where to put the DLLs? Can I just put all of them under /bin and let the build event copy to /bin/debug or /bin/release as required? Should I try to force a single reference path for the dlls in the project output?

View 5 Replies

VS 2005 Import XML Data Into Project?

Mar 11, 2010

Is there a way to import an xml file into a vb project and have the structure and data visible? I'm wanting to create a data structure within my project that has all the data from the xml files already compiled in. The data in the xml file is static reference data that never changes, and my project lead doesn't want to put it in the database or distribute the xml file.I'm just wondering if there's an easy way instead of manually building an array line by line - there are hundreds of data elements.

View 2 Replies

VS 2008 - Timer - Project A References Project B So Can Open A Large Form In Project B

May 5, 2010

For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.

View 2 Replies

VS 2008 Insert References From Application Settings CrystalDecisions References Are Missing

Mar 9, 2011

I have Crystal Reports 2008 installed on my win7 laptop but when i go to insert references from my application settings the CrystalDecisions references are missing and im not able to find them. Note: they do exist in my "c:windowsassembly" folder.

View 3 Replies

.NET Service Failing To Start On Boot?

Jun 2, 2009

I created a simple service that does some inventory and records the data to a MySQL server. The service starts just fine when told to from the services administration panel. However, it will not on computer bootup. I get the famous error.

The InventoryService service failed to start due to the following error:The service did not respond to the start or control request in a timely fashion. I've read that logs can be a problem, so I disabled the autolog...but that didn't solve any problems. I believe it has something to do with the user not already being logged in and attempting to connect to a remote database. So, I added a function to check for internet connectivity before executing any inventory methods or SQL queries. This did not fix it either.

EDIT: I also am receiving the following error in the administrative logs. I create the service dependant upon the Tcpip service, but it still fails.A timeout was reached (30000 milliseconds) while waiting for the InventoryService service to connect.

View 1 Replies

.net - Web Service Calls Failing On Remote Server

Mar 21, 2011

I've got a webservice called Converter.asmx and I've just noticed that on the remote server I basically can't connect to it. The error that I get: "No connection could be made because the target machine actively refused it 127.0.0.1:49792" and the error occurs where I'm calling the web service (second line below).

Dim webservice As New localhost.Converter
results.InnerHtml = webservice.ParseData(txtInput.InnerText, options)

On my localhost it works fine. How can I change the webservice so that it'll work on the remote host as well?

View 1 Replies

Asp.net - Add A Rest Service To A Web Application Project?

Feb 16, 2012

I've just created my first web application project.Now I want to add a RESTFul service.It can be pretty simple, all I need is to pass 1 string (userid) and 1 integer (objecttype) and return a json result.

View 1 Replies

Web Service Failing With The Request Failed With HTTP Status 401: Unauthorized?

Apr 23, 2012

I have a very long running task I need to take from my website and put into a web service however every time I try call the web service I get this error message The request failed with HTTP status 401: Unauthorized.

View 1 Replies

.net - Including A ASP Web Service Project In A Windows Forms Application?

Aug 25, 2009

I have a web service that I'd like to include as a project reference inside a windows forms application. (The application will be running on non-networked hardware.) I could simply copy the *.vb files I need into my forms project, but I'd rather not fork the code base.It wasn't hard to include the ASP project in the windows forms solution. However, I can't figure out how to reference it in my forms code.

View 2 Replies

Create XSD And XML Document From Dataset - References Xsd Import Xml To Excel

Mar 16, 2012

I have read and googled a ton of xml documentation but haven't quite gotten an answer to what Im trying to do. I am trying to create an XSD document that generates explicit type definitions for fields in the dataset. I am then trying to create a sample XML document that validates against the XSD document.

This works fine inside of visual studio because I can read in the schema and the document and it validates BUT, the xml document created has no real reference to the XSD via xlmns or other method. If I want to use this xml data in say MS Excel and I try to import it doesn't know where the XSD is to validate against so it assumes it based on the values. Is there a way in my code to add the xlmns to both the XSD and XML if that is what is needed to solve this? [Code]

View 1 Replies

Update All Service References In One Shot?

May 25, 2011

I would like to know is there any way to update all service reference different projects to point when service URL is changed? I am using VS 2008.

Details:

There are several other C#.NET projects which refer to a web service projects inside the same solution.

I have made some changes in the web service project which requires references to these web services updated in other project inside same solution.

View 2 Replies

VS 2005 How To Run Any Application From Within A Windows Service??

May 19, 2009

I am using Vb 2005 to develope a windows service, i have completed a long flow,but at the end i am having a little problem.When i use process.start("abc.exe"), it didnt show me But when i have a little more analysis of the problem i noticed that its running in background by making windows service as its parten process, So it means process runs but as a service how i can show that application on desktop?

View 3 Replies

Deploying Winforms Application To Client Machines Application Failing On Start?

Jul 2, 2009

Deploying Winforms Application to Client Machines Application Failing on start

View 8 Replies

Error In VS 2005 "The Project File Cannot Be Loaded The Application For Project -is Not Installed"?

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

Add References From Another Project?

Jun 20, 2011

I want to add References from my another project. How Can I do that.

View 3 Replies

[2005] Manual DataAdapter Failing

Jan 8, 2009

[Code]...

And have been trying things, but haven't found how to get it fire. At run time when I look at the value of the @Appid paramter it has the first row's value so it doesn't appear to be that.

View 3 Replies

.net - WCF Service Hosted In A Managed Windows Service Connect Using A WCF Service Application

Jul 14, 2011

i have a Windows service that is hosting a WCF service through net.tcp and this is working great. I have also created a WCF service application. I am trying to add the net.tcp service reference to the service application. Then I add it to the GAC that goes ok but if I try to RegAsm the WCF service application to allow it to be called from Server.CreateObject I get the error:

Warning: Type library exporter encountered a type that derives from a
generic class and is not marked as
[ClassInterface(ClassInterfaceType.None)]. Class interfaces cannot be
exposed for such types. Consider marking the type with
[ClassInterface(ClassInterfaceType.None)] and exposing an explicit
interface as the default interface to COM using the
ComDefaultInterface attribute.

It does not work. I have tried to call it through a class library but this does not work either as the end point is not set correctly.

View 1 Replies

Using The Web Service References Tool 2.0 For Sending And Receiving Complex Data (arrays Of Objects) VBA?

Jul 9, 2009

I used the tool about 3 years ago to create the classes for a webservice client to send or recieve arrays as complex data. Now i have to update these classes, since there are additional informations, that have to be exchanged. When i use the tool now with the new wsdl-files, it does'nt create the classes for complex data (structur, IGCTMObjectFactory), but only one class for simple data. In addition i have to establish a new client, that sends an array of complex data and receives another array of complex data. I tried to build the classes manually combining the client that sends an array with the client, that receives an array, but I failed.

View 3 Replies

Adding References To A Project

Jan 19, 2011

Over and over i keep getting stuck on the idea of adding references to a project. I was looking about visual studios 2010, i clicked the project menu tab, and then scrolled to add reference. When i would click on it, it would bring up a large list to choose from. So, my issue is as follows. I am told to reference via my compile error message a few items. I thought i found the elements i was looking for and pressed OK. When i would try to run, it would still give me the errors.

What am i doing wrong? Am i not doing something correct?

here is my error code, and i looked it up, but for some reason, as stated above, i must not be referencing correctly?
Quotec:\users\fallenreaper\documents\visual studio 2010\Projects\Crystal Report Software\Crystal Report Software\CrystalReport1.vb(99) : error BC30652: Reference required to assembly 'CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' containing the type 'CrystalDecisions.CrystalReports.Engine.ReportDocument'. Add one to your project.
c:\users\fallenreaper\documents\visual studio 2010\Projects\Crystal Report Software\Crystal Report Software\CrystalReport1.vb(99) : error BC30652: Reference required to assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' containing the type 'CrystalDecisions.Shared.RequestContext'. Add one to your project.
c:\users\fallenreaper\documents\visual studio 2010\Projects\Crystal Report Software\Crystal Report Software\CrystalReport1.vb(138) : error BC30652: Reference required to assembly 'CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' containing the type 'CrystalDecisions.CrystalReports.Engine.ReportDocument'. Add one to your project.
c:\users\fallenreaper\documents\visual studio 2010\Projects\Crystal Report Software\Crystal Report Software\CrystalReport1.vb(144) : error BC30652: Reference required to assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' containing the type 'CrystalDecisions.Shared.RequestContext'. Add one to your project.

View 2 Replies

Deploying A Project With Web References

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

DB/Reporting :: [2005] Manual DataAdapter Failing?

Jan 8, 2009

Code:
dim Insert as string="insert into acaps(AppId,activity_dt,activity_cd,process_state,UserId,SeqNbr,LocCode,comments) values (@AppId,@activity_dt,@activity_cd,@process_state,@UserId,@SeqNbr,@LocCode,@comments)"
Dim x As New Odbc.OdbcDataAdapter(selectQ.ToString, DirectCast(Me._Cn, Odbc.OdbcConnection))
If x.InsertCommand Is Nothing Then

[code].....

And have been trying things, but haven't found how to get it fire. At run time when I look at the value of the @Appid paramter it has the first row's value so it doesn't appear to be that.

View 6 Replies

VB 2005 App Failing To Start Pscp Subprocess

Jul 7, 2011

I've got a VB2005 application written by a previous coder. I had to move it to a new windows 7 box, since the xp box it was hosted on had catastrophic hard drive failure. It worked fine on the xp box, but it fails on the windows 7 box.

More specifically, I've tracked it back to a specific subsection. It uses the Process library to start pscp, the putty scp command line tool. It has a timer to wait 400 seconds for the process to close, otherwise it stops the process and reports an error.

Unfortunately, on windows 7 it doesn't seem to even start the process, because it does not wait the specified 400 seconds, nor does it report the other error it would give if pscp did start, but failed. Is there a compatibility issue with the process library, or is it some configuration issue?

Update:

Alright, after more testing I've determined that the subprocess is getting spawned, but the parent is not waiting for it to exit.

it seems the VB code myProcess.WaitForExit(40000) is not actually waiting until the process exits. Is this because it can't 'see' the process and believes it has exited?

View 1 Replies

Compiler Conditions And Project References?

Jun 15, 2009

I've recently started running into DotNET difficulties with newer HP and Dell systems that are pushing x64 processors and operating systems onto a totally unaware end-user market, so suddenly a lot of work I've done in VB.NET is going to ____ in a handcart; specifically all the work I've done with 3rd Party tools that are only available in x86 or x64 builds and not DotNET Native builds for any CPU. The biggest problem is that all the DLL File Names, in-code Namespaces, Classes, and Methods are totally identical - just one version is compiled for 32 bit and one for 64. What I need to do to fix this is provide some #If compile conditions that alter the paths of existing references based on the Build Configuration, so that when I'm compiling for the x86 platform it references C:DBAPISQLitex86System.Data.SQLite.DLL but when compiling for x64 it references C:DBAPISQLitex64System.Data.SQLite.DLL.

I don't have a problem writing compile conditions, but can't figure out how to alter the reference paths before the compile begins, short of manually removing one reference and adding the other every single time I need to do a dual-platform compile.

View 1 Replies

IDE :: References Link On The Project Explorer Not Visible

Jan 23, 2010

I have VS 2008. Created a VB Windows project and the references link under the project name in the project explorer is not visible. The references link is visible however under C# projects but not in the VB projects.

View 1 Replies

Basic Nature Of A Visual Studio Project's References

Aug 25, 2011

Just curious. I recently had an incident in which I was called to troubleshoot a VB Winforms app. I have 2 versions of a package (LeadTools) installed on my machine. These packages contain numerous dlls and it is not unusual for a dozen or more to be referenced in a single program.

[Code]...

View 8 Replies

Project References To Newer Framework Library And Does Not Compile?

Jun 29, 2010

I've been passed a solution that has a vb.Net 2.0 project that references to a .Net 3.5 library. The library compiles with out problem but the vb project does not. It complains of missing objects which are in the library which are correctly added in the imports. Also I see a yellow yield sign next to the reference library also when I add the reference it complains of the framework version difference. Any help is apritiated. Also I'm using VS10. Imported the projects with no errors. A colleague has this working on VS9.

View 1 Replies

Adding References To A Stand Alone (no Project) Executable In Visual Studio

Dec 20, 2011

I am creating a visual basic executable in Visual Studio but NOT in a Project.I would like to add some references (dll).How can I do that?

View 1 Replies

Deploying Winforms Application To Client Machines Failing On Start

May 5, 2012

This is a VB .NET 4.0 WinForms application. There is a mysql data-source involved with this project. The target CPU is set to any. Problem: When running this application on any computer that has VS 2010 installed along with the mysql connector it runs flawlessly. When installing on a virgin system(ie. No developer environment installed) but that machine does have .net framework 4.0 installed and a mysql server without the connector installed the application falls immediately. So to fix the issue I install the mysql connector MSI.

This immediately fixes the issue on the client system and it runs. The problems is that as you can see below from my Installer setup that the 2 needed DLL files for MYSQL are actually included in the installation package so should not need to be installed separately. So Why is it that using that installer from the images do I need to install the mysql connector? Any Ideas?

Below is a screen shot of the References the program uses and from what I believe I do not need to deploy any of those DLL files with my application other than the 2 MYSQL DLL files. So why is this failing? Below are images showing the project references as well as the Installer Files that are being installed in the application folder. As shown in the image the 2 mysql dll files are to be put in the application folder. There is also a screen shot showing each dll's properties for in application folder.

View 1 Replies

2005 Setup Project Application Data Folder No Content

Dec 22, 2011

Under VB.Net 2005, I created a Setup Project which produced installation files for a windows application. I placed the mdb file in the User's Application Data Folder and remapped the DataDirectory to Environment.SpecialFolder.ApplicationData at runtime. Unfortunately, sometimes the system just did create the mdb file at the Application Directory.

An example was that I installed the program in Windows 7 under a normal user account. I chose inside the installer that the program would be made available to everyone. After installation, the mdb file would be created automatically for the Administrator account but not for the normal user account. For XP, the whole thing worked fine. I am tempted to write a routine to check and create the mdb file if it is not present, but why does this happens and what other opinions do I have?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved