AmitKa's Q&A profile
SQL Server Error connecting to localhost site to view SQL server Mobile Agent on Device
I have set up a locahost site in IIS using the "Configure Web Synchronization Wizard". One of the first test I was asked to do was to open a broweser and browse to http://localhost/MobileTest/sqlcesa30.dll If all is well I should get a web page with the following line: SQL Server Mobile Server Agent 3.0 But unfortunately I get an error stating : " The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance." I checekd the Event log and found this error related the IIS launch process on my machine. DCOM got error "Logon failure: unknown user na ...Show All
.NET Development Connect to Stored Procedure.
Hello, I am using Oracl as my Database system. I am not able to connect to Stored procedure written in Oracle. But at the same time it is possible with SQL Server. So what are the ways to Execute stored procedure for Oracle Can you post your code What is any error message Are you using the OracleClient classes SqlCLient classes won't work for Oracle. http://www.microsoft.com/downloads/details.aspx FamilyID=4f55d429-17dc-45ea-bfb3-076d1c052524&DisplayLang=en ...Show All
Windows Forms OnClick preceding OnEnter
VS 2005 / XP Pro -- both with all service packs It is my understanding that the OnEnter event should precede most (all ) other events for a control but... Our application has a form on which is a Tab-control. We load a number of controls dynamically onto this Tab-control -- ComboBoxes, CheckListBoxes, and TextBoxes. We haven't checked all the Tabs, but on at least one of the Tabs the OnClick/OnMouseClick event precedes the OnEnter event for the ComboBoxes and CheckListBoxes (but not the TextBoxes). Controls that are added at design-time on other Forms' Tab-controls have the events fire in the expected order -- OnEnter and then OnClick/OnMouseClick. Is my understand of the sequence of events erroneous or can someone g ...Show All
Visual Studio XML documentation tags support in Sandcastle
Currently Sandcastle supports C# recommended tags as defined by http://msdn2.microsoft.com/en-us/library/5ast78ax.aspx . As per the forums posts at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=629715&SiteID=1 we plan to supports the custom nDoc style tags in our ERTW release. As per http://ndoc.sourceforge.net/usersguide.html the tags we need to support are the following: <event> <exclude> <overloads> <preliminary> <threadsafety> <note> Please let me know if this list is complete Also we will provide documentation on adding user defined tags. Anand.. Yes, amen to that, the inheritdoc tag is hugely useful, I used it a lot in my product! Please put i ...Show All
SharePoint Products and Technologies Create a 'custom' List with Pages
Hi, I need to create a 'custom' List that will contain Pages (or articles if you want). I can't use the default Page list that's there. How can I go about doing this I need this because I have to have a List with articles that aren't shown on the site as other 'normal' articles. Thanks! Did you solve this, I have the same problem. Heres what I need, just like you described. 1) I have site, and multiple subsites and multiple subs of those subs 2) Each site and subsite needs to have its own page libraries 3) Pages will be grouped and security must be administrativable by group. 4) We want to use a template like the article template. How the heck can this be done I will be for ever in d ...Show All
SQL Server how to properly qualify calls to sys.fn_*
hello, i would like to use some sql code which is inside of a system stored procedure. when i "script as create" the procedure to see it's content all goes fine. but when i try to execute some sql code from the SP, the server cannot find some entities (functions, etc). example: script the procedure distribution.sys.sp_replmonitorhelpmergesession and the generated code will contain calls to sys.fn_replmerge_get_errormsgcounts( int ) how do i call that function TIA The way to call a general sys.fn_* function is as you mentioned and is correct. This specific function is accessible only to objects in the resource database (system objects) and not to user defined objects. So you c ...Show All
Gadgets Digital Signature
Hi, Sorry if this is a total newbie question. But I am, and I didn't find anything about it in the forum yet. How can we add digital signature to a Sidebar Gadget TIA, Eric Package the Gadget into a CAB file, then sign the CAB. To create a CAB with a directory structure, use (as per this thread ): cabarc -r -p n <GadgetName>.gadget * See this article on how to sign the cab. If Tom's reading this, perhaps he can post all the steps he's used to sign his Gadget's as I'm sure there's an easier way. ...Show All
.NET Development Help for Web Services
do u know how to setup web-services the problem i am geting is that, while installing the service it is taking the name of the same machine where the service is developed How to remove it from it and set the name of server where we'll install it. < discovery xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd = " http://www.w3.org/2001/XMLSchema " xmlns = " http://schemas.xmlsoap.org/disco/ " > < contractRef ref = " http://psppc052/my_ws/WebService.asmx wsdl " docRef = " http://psppc052/my_ws/WebService.asmx " xmlns = " http://schemas.xmlsoap.org/disco/scl/ " /> < soap address = " http://psppc052/my_ ...Show All
SQL Server SQL Express 2005 installation fails on all of our PCs
The installation fails and crashes with "Error 110", while attempting to install the SQL Native Client... then crashes (DrWatson). This happens on every OS and test machines that we have within our company... flavors of W2K and WXP, all with .Net Framework 2.0. If the SQL Native Client exists, the installation continues without error. If SQLEXPR32.EXE is run directly from the command line, the installation will succeed. If SQLEXPR32.EXE is called from a Windows Installer Custom Action type 50, it will always fail. This is the method we used to successfully install MSDE previously. Our command line is: /qb ADDLOCAL=SQL_Engine,SQL_Data_Files SAPWD=password1 SECURITYMODE=SQL DISABLENETWORKPROTOCOLS=2 INSTANCENAME=Instanc ...Show All
Visual Studio Express Editions Data Grid Question
This is from the help Private Sub ResetSource() DataGrid1.SetDataBinding(adoPubsAuthors, "Authors") End Sub I would like to set my Data Source to be based on the results of two combo boxes in my form. I guess my question is, can it be set on a query vice a table. SELECT * from Ply WHERE LN = '" & cmbL.Text & "' and TN = '" & cmbT.Text & "'" not quite, almost there. take a look at this on passing parameters (variables for example) from one form to the other. This is what you need to do if you are needing to access "ds" from the other form http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=700821&SiteID=1 http:// ...Show All
Windows Forms Prerequisites??
Thanks in advance for listening to this dumb question. When I try to publish with the prerequisites set to "Create setup program" and "Download prerequisites from the same location as my application" I get the error message: "Error 2 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\instmsia.exe' in item '.NET Framework 2.0' can not be located on disk. See Help for more information. Ophthalmology" Build is aborted. I don't know what to do or maybe I have the dotnetfx in the wrong place for install Frank It's not clear what is going wrong... the files that you download, the installers, need to be in the same directory as the .xml ...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 2008 (Pre-release) ItemsPresenter StackPanel orientation
I have a style for a control that has a StackPanel and inside the panel I inserted ItemsPresenter. The StackPanel has its Orientation set to Horizontal, but the ItemsPresenter doesn't seem to care about it and always renders with a Vertical Orientation. What am I doing wrong < Style TargetType = " {x:Type local:MyControl} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type local:MyControl} " > < ScrollViewer > < StackPanel Orientation = " Vertical " > < ItemsPresenter /> </ StackPanel > </ ScrollViewer > </ ControlTemplate > </ Setter.Value> ...Show All
SQL Server Recommended Books
Can somebody recoommend me books for sql server 2005. I am interested specially in CLR inside sql and Business Intelligence. Hi, Books for the CLR Inside SQL and new features released already: Introducing Microsoft SQL Server 2005 for Developers (Pro - Developer) by Peter DeBetta A First Look at Microsoft SQL Server 2005 for Developers by Bob Beauchemin, Niels Berglund, Dan Sullivan Books on Business Intelligence are notyet released: Delivering Business Intelligence with Microsoft SQL Server 2005 by Brian Larson due for release on 30 Sept, 2005 Regards, Vikram ...Show All
Visual Studio 2008 (Pre-release) IDispatchMessageInspector.BeforeSendReply - Accessing Service Variable is null
I have an operation that takes an XSL text as an input parameter which I store in a private variable for the Service. After the operation is complete and the reply is serialized, I want to access the service variable. When I do this the variable is always null . Here is what it looks like. Any thoughts on why the variable is always null and how to fix this are much appreciated. Dave I got your E-mail from a WCF post on http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=542165&SiteID=1 I am trying to tap into functionality provide by IDispatchMessageInspector where i want to log the request and response message if the operation implementation in service implementation class has a certain attribute applied to i ...Show All
