Lajash's Q&A profile
Visual Studio Error enabling LAN service
I am trying to enable the LAN service for my test database and I always get this error: There was an error installing or starting the LAN service on this machine. The error returned by Windows is: The specified service has been marked for deletion. Hi Neo, Can you try a manual registration of the service - open a command prompt window from the context of a user with Administrator rights. - go to VSS install folder and locate the SSService.exe program. - run "SSService /install" to register the service (that should create the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SSService registry key) - run "net start SSServic ...Show All
Visual Studio Express Editions Beginner can't begin!
I am trying to start with C# and have tried following the istructions on the video as well as the "Create your first application" link. However, when I choose File - New Project then select Windows Application (and change the name of the application) all I get is "The filename, directory name or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)" I have re-installed the software to no avail! HELP! I've tried not changing it and changing it to the names given in the instructions e.g. HelloWorld and abc but all produce the same result. ...Show All
Visual C# Potential Bug with C#
The screenshots speak for themselves. Debug - 4 is the most relevant shot. Take a look at the values shown in Watch 1, and the execution path that is being followed. What should happen is, base.Text == null evaluates to true, null is returned and life is good. What does happen, is that some how it passes over that part of the if, falls into the else and then executes the code highlighted in Debug - 4. A null reference exception is then thrown, because I try to call base.Text.Trim() when base.Text is null. Even though it should NEVER have gotten to that point. I hope the problem is clear enough. I'm running VS2005 RTM - I've just been to bus ...Show All
Visual Studio How to Build website from AssemblyInfo Task
It is fine to use AssemblyInfo task with Class Libraries project files in eg. .csproj. < Import Project = " $(MSBuildExtensionsPath)\Microsoft\AssemblyInfoTask\Microsoft.VersionNumber.targets " /> But How to use the same with Websites where .csproj file does not exist. Thanks, Naren You can't use the AssemblyInfoTask with a web project as web projects don't have a project file. You can increment version numbers using the method described at http://weblogs.asp.net/bradleyb/archive/2005/12/02/432150.aspx . It requires using the Web Deployment Projects beta. Neil ...Show All
Visual Basic Calculate size of string in bytes
All, I am reading a text file line by line and want to display its progress with a progress bar... cunning eh ... Therefore I need to determine the following: (1) The size of the file (2) The size of each string taken from the line of the text file Can anyone help Regards, Determining the size of a file is easy. If you for example have opened a FileStream, check its Length property. The second part is more tricky. It depends on the encoding used for the strings in the file and what kind of newline characters are used. ...Show All
.NET Development C# web service client throws strange exception
Hi there, I have a strange problem. I have developed a web service with the apache axis toolkit in Java. After testing the webservice on its own, it appears to be without error. I built a C# client to further test the application. I used WSDL to generate a proxy class, built a dll using csc, and imported the dll into a C3 console project. I created an object of the appropriate type, and called the public method that invokes the web service. The code compiled just fine, but when I run I get a java.lang.nullPointerException. I would think that this is comming from the web service (since it indicates a java error) is there anything I may h ...Show All
SQL Server Help with Totals
I cannot get these totals to work whatsoever. Should I be using a Matrix or something or am I missing something here...it's driving me nuts! Here is a picture of my report to help: http://www.photopizzaz.biz/ reportserver_grouping_p.jpg A screen shot here on another column in the same report showing overenflated total in footer: http://www.photopizzaz.biz/ reportserver_grouping_prob2.jpg http://www.photopizzaz.biz/ reportserver_grouping_prob2b.jpg ...Show All
Smart Device Development Problem In PULL method...
hi frnds, iam trying to get data from sql server to sql server ce.....but it is generating error...... plz refer my code and suggest some changes.......my code follows If File.Exists("\Temp\naren.sdf") Then File.Delete("\Temp\naren.sdf") End If Dim objsqlengine As New SqlCeEngine("Data Source=\Temp\naren.sdf") objsqlengine.CreateDatabase() Dim rdaOleDbConnectString As String = "Initial Catalog=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=MobileData;Packet Size=4096;Workstation ID=SOFT;" Dim rda As New SqlCeRemoteDataAccess rda.InternetUrl = "http://localhost/SQLCE/Sscesa20.dll" rda.Lo ...Show All
Visual Basic Writing SQL to XML
I'm trying to convert some sql data to xml with some visual basic code-behind... but it's not working. When I fire off the page it just flashes and stays blank. It doesn't display at all my label I tell it to when the code is finished. Right now I'm firing it off whent he page loads just to simplify things, but I previously had a button that was used to initialize it. It failed with the same result, page flashes, no label displays. I even check up on my server where the xml doc is supposed to be saved to but it's not found. Here's my code behind: [CODE] Imports System.Data.SqlClient Imports System.Data Imports Sy ...Show All
SQL Server Why... is it so difficult to schedule a job in 2005?
I created a package from an Import Data Wizard, in 2000 you had the option to schedule that job, right then and there, but apparently that was too convenient, anyway... After creating my stored package within the database, I try to set up a job to run that package, it is pretty straightforward and I think it is going well until I try to execute the job and I get the following error. Message Executed as user: servername\system. The package execution failed. The step failed. So after some investigation, I believe it is a permissions issue, and at that time (default install) all services were running under "Local System".  ...Show All
Visual Basic Login Trigger
I need a way to let my programming (running on a Windows 2003 Server machine) get triggered when a user logs on a computer in the domain controlled by this server. The server is the only DC of the domain. Can you help please you need to create a login script http://support.microsoft.com/Default.aspx kbid=198642 http://msdn.microsoft.com/library/default.asp url=/library/en-us/script56/html/5593b353-ef4b-4c99-8ae1-f963bac48929.asp ...Show All
Visual Studio Team System Invalid Drop Location
In the New Team Build Type Creation Wizard, why doesn't the Drop location allow hidden shares \\ComputerName\sharename$ It doesn't like the $, but I think this should be allowed. I just ran into this today. Major oversight. I've logged a bug on connect: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=221504 BTW, %, ( and ) are all valid UNC chracters. The characters the wizard complains about are strictly SQL nasties. There's a completely separate message box for invalid path chracters like |. Ugg... ...Show All
Visual Studio Team System Test list is incomplete when I try to create an ordered test
When I try to create an ordered test, I found some tests are not listed in the "available tests" table. But these tests do exist in the source control and local workspace. I tried to delete one test that was not listed and then undo the changes. Then it appeared in the "available tests". Is this a bug Hi Rachel, This may be a bug, but first I have some questions for you: What kind of test is that (Generic Test, Unit Test, Manual Test, 3rd party test type, etc.) Is it part of the currently opened solution in the IDE Does the test appear in Test Manager and/or Test View ...Show All
Windows Forms Setting report Source in Visual Studio .Net
OK, I got Visual Studio .Net so that I could use a crystal report in my program my only problem is that I still cannot set the Report Source property of the Crystal reports Viewer. I have tryed many different ways that I have found through the help files and each one comes up with a different excuse of an error. Can anyone he ...Show All
Visual Studio Express Editions casting help
i need help in casting some objects...in my program i have a treeview in which nodes(nodes are classes of various type...like organization(inherited from treenode)) has a context menu that could show a form...now..if i start a new project there is no problem in casting.....if i open a project when i try to show a form on a node there are casting problems...i posted some code...i hope someone will help me...i need to cast from TREENODE to ORGANIZATION..thanks all private void OrgProperties_OnClick(System. Object sender, System. EventArgs e){ Organization org; object objGeneral = treeView2.SelectedNode; <- type O ...Show All
