|
First of all you must modify your program and make it into a service.
Writing a system service is different than writing a user mode program in a few ways.
You should have a look at some articles on the web, you can start from here[^] for example.
2+2=5 for very large amounts of 2
(always loved that one hehe!)
|
|
|
|
|
Hi -
I've got Visual Studio 2005 and I'm trying to create a SQL Server Project on a 2008 Server.
I'm trying to make a 'New Database Reference' with the following settings:
Data Source: SqlClient
Server: <servername>
Windows Authentication
I'm able to successfully test the connection and find the correct database (catalog).
The problem is that I get a message - "This Server version is not supported. You must have Microsoft SQL Server 2005 Beta 2 or later"
Anyone see or overcome this before?
Thanks in advance!
|
|
|
|
|
You need to install VS 2005 SP1 and also a path on top of it.
Look into the following link[^]
|
|
|
|
|
I am trying to create a report in Crystal IDE, using XSD file as the datasource. It is not letting me do it. As soon as I select the XSD and click ok, I get the error that says "Failed to Load database information". I click OK and then I get "Unknown Database connector error". I am able to use other options like XLS,MDB, but XML would not work. Any ideas?
This works perfectly fine from my .net version of CR. Also, in the .net version I see the ADO.net option under "Available Data sources"->"Create New connection", I donot see that in the CR IDE.
Not sure why this is happenning.
Sudha
|
|
|
|
|
I dont think CR knows how to read XML. You need to convert the XML to MDB/DBF/SQL so that your CR template can read those tables not file. Or another way doing it is to use XML to datagrid and datagrid is your datasource.
|
|
|
|
|
I am trying to use XSD file.
|
|
|
|
|
Also, I am trying to do this directly in Crystal IDE, not via .net.
|
|
|
|
|
In your Crystal Report you reference the schema by opening the Field Explorer, right clicking Database Fields, selecting Database Expert, expanding the Create New Connection node, and the ADO.NET (XML) node then double clicking Make New Connection. At the ADO.NET (XML) dialog set the File Path to your XSD file by clicking the elipses and navigating to the schema file
|
|
|
|
|
That is what I am trying to do, but I do not see the ADO.NET option at all. All I see are:
Access/Excel
Database Files
ODBC
OLE DB
Universes
More DataSources.
I tried to use Database Files option, but as soon as I select the XSD file, I get the error "Failed to load Database Info". I click OK and then I get "Unknown Database connector Error".
Thanks for trying to help me.
Sudha
|
|
|
|
|
go to Create New Connection
go to Databases Files
on the drop down Files of Type select XML Files (*.xml;*.xsd)
point to your file and click Open.
|
|
|
|
|
That is when I get that error.
|
|
|
|
|
Do you have the Login and Password? Is the file locally stored on your Workstation?
|
|
|
|
|
yes it is. This is what I did to create the XSD file: I have an ODBC conn to MYSQL. Using this conn, from .net, I created the XSD file by adding a dataset object.I am trying to use this XSD in Crystal IDE and that is when I am getting the error.
|
|
|
|
|
If your template trying to access the server you need to have ODBC connector from your workstation to the server where the XML/XSD located. Go to Control Panel\Administrative Tools\Data Sources. Make sure the Server\XSD table listed with correct Login and password. Then your template will open using the connector from your Workstation to the server and drills to the server to get the XSD and frame it against your template.
|
|
|
|
|
Sudha. I currently have hundreds of CR rpt files that utilizing DBF, MDB, SQL and experiencing no issues at all. My last attempt is to look at the XSD from your Workstation using Microsoft Access and if the table opens that means you have connections and if the table does not open that means connections from the server is no good. If this does not help I give up.
|
|
|
|
|
My site is working fine in IE7. But it is not showing rightly in IE6.
I have used sitemap in masterpage which has broken down
Thanks for help
|
|
|
|
|
You might want to ask this in the ASP.NET forum[^].
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I have long had this question floating around my mind since I first started web developing 6 years ago. What user permission applies to the viewer of a website and what user permission applies to the application such as .net or php running on the website? The reason I am confused is that when a user visits a website the application such as IIS or Apache serves them a page so that application would be the one the file permissions would apply to I imagine. When a user of a website submits data in a form then the data is handled by .net or PHP so logically the parser would be the one that the file permissions applied to unless every viewer of a website has the full permissions of the web server application. The reason I ask this is because when you set a file in a directory to something like chmod 644 then I want to know can a hacker exploiting a submission field get the 'group,' the 'everyone' permission or does his code apply to whatever rights the server itself has? Most importantly if I set a file to 777 on a webserver then how can any user looking at the site through a web page write to that file unless they are counting as .net when they view the web page and use form submissions. I have had a web page hacked when someone managed to re-write a configuration file even though it was set to 644 and there was very little amount of form submissions on the web site.
Thanks for any input. This is not entirely a .net question, but I just think this community is very bright.
Nick
|
|
|
|
|
I have a .net class library which is having Installer.cs that I am trying to configure as a custom action in my build script.
<binaries>
<binary name="EXTDLL" value="${output.dir}LVLTExtensions.dll" />
</binaries>
<customactions>
<customaction action="CA_EXT" type="1" source="EXTDLL" target="Install" />
</customactions>
<sequences>
<sequence type="installexecute" action="CA_EXT" value="-1" condition="Not Installed"/>
</sequences>
I want to call Installer.cs methods on customaction, but when I give target as method name on Installer.cs...I am getting error message on MSI execution{ERROR: DLL required for this install to complete could not be run. Contact your support personnel or package vendor. }
Please help me on this
|
|
|
|
|
May Preview of the Visual Studio 2010 and .NET Framework 4 Training Kit has been released. The kit includes source code, demos, and presentations. The kit includes walkthrough of important .NET Framework 4.0 technologies.
You can get the Training Kit for Beta 1 here[^].
You can get beta 1 of Visual Studio 2010 and .NET Framework here[^].
|
|
|
|
|
hello friends,
i am creating an application for an online local clinic management software where i want their registered patients to upload their ct or other medical images so that the doctor may visit their profiles online and see their reports.
since the medical images have a dcm format that stands for dicom(digital imaging and communication in medicine). since the software that i have to view these files is a desktop application, i want to create an api for the same that can be called on my application and the images be viewed online.
please suggest how do i create this api for the software, those of you who want to see what the software looks like may search for "DicomWorks" on Google.
thanks in advance.
|
|
|
|
|
You'll need a library to do the conversion to a non-lossy format, not an external app. If you use send a lossy-compressed (aka JPG) image, it'll introduce artifacts into the image that can be misinterpreted by the doctors.
|
|
|
|
|
How can I make a treeview with some nodes have checkbox and some not? please help
|
|
|
|
|
you can start by not posting the same question you did yesterday. There is no built in functionality for that. In my opinion you have two options...
1. tag each node with a value to state if it should have check box. Then handle the drawing for the treeview nodes and draw you own check box based on your tag value and the checked value of the node. This will however only show a check box, you will then need to handle the mouse click for a treenode and do something to change the value.
2. Create you own controls, either form scratch or inherit from existing ones. Then you can add any extra functionality you want.
Both options are not straight forward and I suspect you will be reluctant to attempt either but they are my suggestions, you can make the choice.
END OF CONVERSATION
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Hi,
I have been using c# in vs 2008 (3.5) with sp1.
Restarted the machine and now I see I have lost the intellisense in the projects i.e. forms, classes..
If I try to create new projects, I get this error:
Project 'projectName' could not be opened because the Microsoft visual c# 2008 compiler could not be created. QueryService for '{74946829-37AO-11D2-A273-OOCO4F8EF4FF}' failed.
What do I do to get the intellisense back and also fix the above error please??
Thanks
|
|
|
|