.NET Winforms App Under Windows 2003 Server?
Mar 31, 2009.NET Winforms App Under Windows 2003 Server
View 1 Replies.NET Winforms App Under Windows 2003 Server
View 1 Replies.NET Winforms App Under Windows 2003 Server
View 4 RepliesI am working on moving applications from Windows 2000 to new server Windows 2003 R2(64 Bit). I noticed that there are some VB programs and config files for those programs have been placed in Windows 2000 Registry. Some other applications are using them from different servers.Why do we use registry here? How can i move these to registry in windows 2003? Can I just move these or do I have to write VB programs to place them in 2003 registry?
View 1 RepliesI have a .net Windows Service developed in VB.net. I have a settings file in the root directory called Connections.XML and I am setting the basedirectory [code]...
When I schedule the service this is working absolutely fine in my Windows XP machine. But when I installed the same service in our development server (Windows 2003 64 bit Server) for some reason it is not able to locate this file.
I am building a Setup project for a Web system using Visual Studio 2008. I upgraded my development machine from Windows Xp to Windows 7. The problem started with Windows 7. Whenever I try to build I get the above error. I ve tried several solutions given online but I ve failed to get a solution. When I transfer the system to a machine running Windows Xp or Windows 2003 Server it builds successfuly.
View 4 RepliesI have a problem with scroll in a treeview in a Windows forms application (Framework version 3.5).
The strange thing about the problem is that on Windows XP, Windows 7 and Windows 2008 the scroll works as excepted, but in Windows Server 2003 SP2 the scrolling doesn't work. Enable/disable Visual Styles doesn't seem to make a difference on Server 2003.
Steps to reproduce the error:
1. Add a treeview to a form and add x nr of root items (and 1 sub item to each item).
2. Expand a number of nodes. The non-standard thing here is that we are changing the node integral height because we display a usercontrol with the treenode (See example of the code below).
3. When you scroll afterwards, you cannot scroll to the bottom node. The scrollbar is all the way down, but we are not seeing the last node.
Public Shared Sub SetNModeHeight(ByVal Node As TreeNode, ByVal IntegralHeight As Integer)
'Create instance of tvitemex structure.
[Code]....
I have developed a application in VB.net and VB 6.0 which uses Windows 2003 SERVER (SBS) Fax Service to Send Fax.This works fine with Administrator Account Privilage use logs into windows but in case when non Admin Privilage account user logs into windows application exception is generated ("Permission Denied").User has full Control on C Root still
OS Windows 2003 Server SBS
Programming Platform : VB.net 2.0 and VB 6.0
Windows Fax Server
Code With create this issue is
Dim objFaxDocument As FAXCOMLib.FaxDoc
Dim objFaxServer As New FAXCOMLib.FaxServer
objFaxServer.Connect ("SERVER") 'This were when non Admin Account User Log Exception in Generated ("Permission Denied")
which file i should install in our windows server 2003 for it to support the windows 2003 server should i download the all framework (200+ mb i think) ?
View 5 RepliesI am NOT allowed to install into Windows Server GAC. I am allowed to upload my program files to a shared drive, not the operating system drive.To begin, I created a simple Class Library .dll and uploaded the entire project folder to the shared drive. I have absolute permission to do anything with this drive and the computer. This class library has only (1) public property.I created a client exe. with a reference to the shared drive .dll. I do not want a local copy of the .dll into my client folder. I want all clients to use this shared copy on my shared drive. And I repeat, I do not want to install into the GAC. I also have full permissions on my terminal.I have created a key file (.snk) for my .dll, and set up assembly information (public id) and tested.I have tried without key(.snk file), and removed assembly information, and tested.Can someone point me into the direction to install/or not to install a MyClass.dll on a shared driveand be able to reference it from other applications?I do not want to use ASP.NET. This is just a base class. This is not a Web service. It seems Windows server 2003 wants this installed into the GAC (C:WindowsAssembly)I have to be missing something.
View 5 RepliesTHis code below retrived Hdd SerialNumber.it works both on windows Xp and windows 7.But does not work on Windows 2003 Server SP2.
[Code]...
I've developed a VB.NET application with Visual Studio 2008. The application communicates with SQL Server and processes a text file.
My question is about performance. While I run it from Visual Studio 2008, it takes 3 sec to complete. The same is when I run the executable created by the Setup Wizard on my desktop (Windows XP sp 3). But if I run the executable installed on a Windows 2003 Server, it takes 15 sec to complete! What could be the reason of degrading performance on the server vs. the desktop? The .Net framework 3.5 SP1 is installed both on the desktop and the server.
I have a project that up until recently has been working fine. It sends an email message to a user once a file has been successfully uploaded, registered and/or approved to use the website. It is written in VB.NET framework 1.1, running ASP.NET on a Windows 2003 server SE sp2.
First the code
Public Sub EmailAfterRegister(ByVal sEmail As String, ByVal sUser As String)
Try
[code]....
This has worked for over one or two years. Today I realized upon testing I get the following error:The procedure entry point IstrcmpiI could not be located in the dynamic link library MSDART.DLL.Upon some research I found that maybe I needed to install MDAC 2.8, which i downloaded and installed today, however i still get the same error. I have had my communications and network admins check traffic and connectivity to the smtp server and all is working fine. Yet I still get the error.
I have programs written in VB2005 accessing mdb database in server. When the server run XP, it was never a problem (at the time, the folder was shared to all). There is a new rule in the company and we have Win 2003 server, and my mdb file must be stored in a folder in the server that the administrator (not I) have installed password. And clients are supposed to access it as user only. I can ask password as administrator, but the users of my program must not have the administrator password (which I can included in my program if necessary). How can I modify my program so that it can access the database? I assume I must modify my connection string, but I do not know how. I am currently using this:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source= C:Integrity ERPPBF.mdb;Jet OLEDB:Database Password=ABC"
working on an application which performs a set of operations on Active Directory based on an op code.The application was developed long back and has been working fine. I recently made few changes, which is causing the Server to run out of memory whenever the program is being run. I also modified the code to make sure that the variables being declared in each function are set to "Nothing" at the end of function so that the memory can be collected by garbage collector. To make sure, I'm also forcing garbage collection to take place at different parts of the program. But, I still continue to have the issue. The program is very big and hence I could not upload it.
The code retrieves a list of rows from a table with opcodes in it and based on operation code, it performs a set of tasks. The problem is that when it loops through each row in the table, the size of memory required by the program keeps increasing (> 1 GB) to the point where the Server (Windows 2003) is crashing. I have tried different profiling tools, but none of them have been able to detect any memory leaks in the program. I'm guessing that the resources are being held up and hence causing this issue.
I'm trying to develop some code to send a fax automatically from a ASP webpage.
[code].....
Basically on my development machine (XP Pro) the fax sending works correctly via our SBS 2003 server which has the fax services installed. Now I want to upload the ASP webpage to our Windows 2003 Standard server under IIS. When I try to send faxes using this server (via the SBS2003) server I get the exception "Operation Failed".I've installed/uninstalled the Fax Service on our Windows 2003 Standard server but still the same error message.
FaxComExLib Operation Failed sending fax to SBS2003 via Windows 2003 Server
View 2 RepliesI have a Windows 2003 server that we regularly RDP in to monitor some programs that we set up to run on the machine automatically.However, the server will automatically log me out after a few minutes of inactivity. Unfortunately the server admin (who has the admin rights to the server, which I don't) is reluctant to remove such restrictions "for security reasons".
Therefore, instead of me trying to fill up 10000 piece of paper getting a security exemption, I am just wondering if there is any tiny program that I can run on the server (either a script or some VB.NET code) that will trick the server into thinking I am constantly typing something even though I am not (For example, as if I am moving my mouse cursor once every 30 seconds or type any letter then erase it in notepad)?Note that since I do not have admin rights, any installation is certainly out of question, and the script, if any, can not require admin rights to run properly.
I've successfully saved video files into SQL server as varbinary. Now, my problem is, how can I play those videos in Windows Media Player (embedded in my Windows Forms).
View 1 RepliesI have installed an application in MS Server 2003 R2 that I recently completed. Now I'm trying to install an update. It installs but does not recognize it as an update, it Installs the app. as a second App.I Installed the same app. in XP and the update was recognized and the app. was updated.Is there a special way to publish for MS Server 2003 R2.I'm using VB2008 Express in a Vista.
View 2 RepliesI'm wondering if anyone knows how to connect to exchange server via vb.net.
I need to create a program that imports data from a calander in exchange server 2003.
(The idea of the program is to imput sick and holidays into a calander and get the vb.net program to read in all the data and store in a database for future use and reporting etc)
I have Visual Studio 2008 running from Windows XP. Our server is Windows 2003 Server.
On a different server, there is an Oracle database we want to connect to.
I've made the connection work from my local VS instance using system.data.OracleClient with the following code:
Dim oradb As String = "Data Source=(DESCRIPTION=" _
+ "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)" _
+ "(HOST=ourHostaHere(CONNECT_DATA=(SERVER=DEDICATED)" _
[Code].....
What do i need to do, to get my local Visual Studio 2008 project to connect to the oracle database?
What do i need to do, to get our server to allow the published .NET page to connect to the oracle database?
I created a Visual basic DLL in Visual Studio 2008 on my computer( not server). I want to copy this DLL to the server.I want web pages to call this DLL What do I need to install on the server (2003) to make this DLL work? I think I would need
MyClass.DLL
MyClass.pdb
MyClass.tlb
How to Check whether the Exchange Server 2003 is installed on Target computer while making installer?
View 1 RepliesBackgroundServer: Windows Server 2003 R2 SP2 Standard x64 (physical server).Executable â.exeâcompiled with Visual Basic 6.0 SP6.The executable is registered on the server with PI.exe /regserveremWe have no idea of what exactly it is that triggers the problem. But after a undefined time/load/operations on the server the registration of the executable is lost or When calling the executable following error message is returned: "Retrieving the COM class factory for component with CLSID {E6A1ECAC-AB5F-4E31-96F5-A0A0CA5EB134} failed due to the following error: 80080005The error is easily fixed with following commands: API.exe /unregserverAPI.exe /regserver
View 2 RepliesI have a program which uses web browser control to automize some testing. it works fine on local machine. however, when I deploy it on windows server 2003, for some reasons, the program can not click any buttons automatically in the IE browser control.
I checked, the IE on windows 2003, because of security, the internet is set in the highest security zone, all others, i.e. activex, scripting, ... are enabled.
I am trying to connect a VB.NET 2003 Oledbdataadapter through the wizard to a SQL Server 2005 Database, but i get an error message during the wizard.These are my steps:New Connection, Select provider (Microsoft OLE DB Provider for SQL Server), Select Connection:server name, log on: use windows NT integrated security, select database. I do all these steps then click "test connection" and it is fine, but when I click "ok" and error message pops up."Unable to connect to database. It is only possible to connect to SQL Server Desktop Engine databases and Microsoft Access Databases with this version of visual studio."
View 3 RepliesI have built an application in VB 2010 on my Windows 7 Pro desktop. I have a particular combo box with a datasource that is dynamically populated, depending on certain values entered by the user; it may or may not have any records in the datasource. When I run/install the application on my desktop, the combo box acts normal, if I click the dropdown button and the datasource contains no records, the combobox will show a single blank beneath the combobox (to indicate no records). When I perform the same action on server 2003, the combobox DOES NOT show a blank row, it does nothing! It act's like it's broken.
View 3 RepliesI'm writing a short app that will send an email notification, rename files and move them to a history folder after a DTS package runs and creates the files. It's a simple setup, the files will be in a folder. I'm attempting to rename them, then move them. For some reason, I keep getting System.IO.IOExceptions when I try to rename the files. Here's my code:
[Code]...
I am trying access Active Directory for ADD, REMOVE, and CHANGE user password from VB2010
View 3 Repliesi want to send mail through my exchange server 2003 using visual basic 6.0, can any one guide me through the process how i can do this, i am using windows XP at client end.
View 2 Replies