kp6452's Q&A profile
SQL Server Report Delivery problem with Data Driven Subscription
I created a data driven subscription for a report that will email a copy of the report based on a parameter passed from a table. The report runs successfully as indicated in Report Manager but the email is not delivered. I checked the ReportServerService log file and a message states that the report was sent to the proper email address. There is another log, ReportServerWebApp, that shows the message "The extension Report Server Email does not have a LocalizedNameAttribute" . I created a regular subscription and it emails the report successfully so it can't be the SMTP server. Any ideas how I can fix this problem with the Data Driven Subscription Thank you. David Then it really look ...Show All
Visual Studio Express Editions Basic ** Multi Form ** Data Access Sample
Hi, My problem is this: I am returning a row from a grid Instantiating a new dialog form Passing the row details through to the new dialog (via public properties) (Editing the record) Validating entries (via OK button) Dropping back to calling form Writing details back to the row Updating Data source However i experiencing problems with saving null dates to the datasource using this method. It seems that every record editing sample i come across use’s a single form to show the selection interface and record editing interface. Does anyone know for a basic sample that illustrates record editing (including null date valued) via multiple forms (e.g. Sage, Line 50 Style) Any help wou ...Show All
Software Development for Windows Vista Custom persistence service creation - issues
I am attempting to create a Custom state persistence service. The following are a few issues / doubts that I have related to the task. 1. I have never come across a situation where the LoadCompletedContextActivity and SaveCompletedContextActivity methods are executed, leading to a doubt whether there is any need to override these methods in the custom state persistence service that I am creating. 2. The purpose of UnlockWorkflowInstanceState method is defined as unlocking a workflow instance state which may have been locked when multiple runtimes share instance persistence (source: http://weblogs.asp.net/gsusx/archive/2005/10/05/426699.aspx - code snippet) . Is there is any particular field in the database that stores this locking s ...Show All
.NET Development My .exe file is not running outside bin folder??
hai guys, this problem is making a head- ache to me... i have built a console application in the .net1.1 with vs 2003 .its working fine while debugging or running.even its working fine by running the .exe file directly when it is in bin folder. but if i take out the exe file and running out side the bin folder...its showing err. it is showing a nullreference error saying that the connection string(database) is not passed..actually i have passed the connection string..thirough app.config file. this time..i have brought .exe.config file to the same location.now it is showing the "applicationblocks.dll is missing." even though i add reference. if i taken the entire bin its working fine in my ...Show All
Visual C++ release build problem
Hi ppl Whenever I build release version it is shows some errors wherease same source code in debug version does not cause any problem. What can be the problem What type of Error you are getting .Linking Error or Something Else. Did u try to Find out in MSDN Why you are getting error in Such Condition. And this type of a short note is not enough to resolve the error. so Provide More info about your Error. Thanx ...Show All
Visual C# Strange null reference problem within enum?
Hi All, We've been having a strange problem. Recently we have seen null pointer exception coming out from our code. The exception trace is dead simple: Message: The run has errored with description: Object reference not set to an instance of an object. Object reference not set to an instance of an object. ------------------------- User: Source: mscorlib Server stack trace: at System.Collections.Hashtable.get_Item(Object key) at WGP.Adapter.IntToPrataEnum(String prataCode, String val) at WGP.Adapter.Curve.BuildCurves(Double[] date, Int32[] instrument, String[] currencies) ... Anyway what really strange is that the code in IntToPrataEnum method is dead simple and straight forward. As far as I can see, I couldn't find a single ...Show All
Visual Studio Express Editions Save layout
Hello! How can i save my layout in Form1 I am using VB 2005 Express. Form1 contains about 150 TextBoxes, 50 Labels and 1 Rich TextBox. I want to save the layout as a Word document with Boderstyle around TextBoxes and Labels. Does anyone have a code example Can't get it to work! Grateful for any help. OK, the following thread will determine how to save the form to a jpg file - which would be step 1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=434448&SiteID=1 The second step would be to create a word document with this image http://msdn2.microsoft.com/en-us/library/78whx7s6.aspx Contains all the code you need for automating creating word documents and a ...Show All
SQL Server Mdx Function to get Descentants until a specific level is reached?
Hi, I have a parent-child dimension in wich i need to analyse data only to a specific level... Imagine that my dimension have 10 levels but i only want to get the hierarchy to reach the level number 3.. So it would be in the report like this: Level0 Level 1 Level 2 Level 1 Level 1 Level 2 Level 3 Best Regards, Luis Simoes True, you get the level names in a Parent Child dimension. However, if you just one the first 3 levels you could just use: descendants ([Dimension].[All Member Name],2, SELF_AND_BEFORE ) Santi ...Show All
Visual Studio OnCreated and OnInitialized
I've been trying to figure out how to get control after a new model has been created, as well as immediately after an existing model has been loaded. I found a post suggesting OnCreated and OnInitialized, but I fear it's outdated. What is the correct way to do it now Also, how can I get control just before the model is Saved. I've been using Validation rules, but they run even when the user elects not to Save. Is there a way to get control only when it's certain the Save will be taking place Thanks very much, John Check out the events in the DocData and DocView classes in your DSLPackage. Events like OnDocumentLoaded and OnDocumentClosed are in there. Hope it helps, Gerben. ...Show All
SQL Server Totals on last page only - How?
Just started (today) using RS2005. Me and my Brian Larson MS RS2005 book. Can't figure out how to get my Grand totals to ONLY print on the last page of my report. They are calculating correctly, but printing on every page. I guess I wouldn't mind if the totals were page specific, but it's not even doing that... Thanks!! Hi I have a table with grand totals in the footer of the table, to print the grand totals on the last page I set the Repeatfooteronnewpage to False. ...Show All
Gadgets HTC files with gadgets?
I have been reading about consuming web services with javascript and it seems every example uses an htc file to accomplish this. Does this work the same way with gadgets I tried searching the forum but no results for htc. If anyone has an example that does this I would really appreciate it! Thanks in advance! ok, I hate to have to ask another question, but it seems I don't understand how to serialize a list to be returned. My web service looks as follows: <% @ WebService Language ="C#" Class ="photos" %> using System; using FlickrNet; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.Collection ...Show All
Visual C++ How to build a DLL to export to other languages
Hello all, Thanks for your time, an disposition. I'm working with GALib v.2.4.6 from MIT Laboratories in Artificial Intelligence ( http://lancet.mit.edu/ga/ ). The conventional way to work is create a static library, includes in a project. But it only works with C++. The library only have source files as *.cpp, and header files as *.hpp. Then each sample call the static library by preprocesator #includes. But now, I need start to work in C#, and I need create a DLL for this, in order to export the GALib Classes Library to other language. How can I do this How can -step by step- create a Dinamic Link Library P.D.: I no have experi ...Show All
Visual C# Go to class member quickly using keyboard only
I'm migrating to VS 2005 (C#). Up to now I've been using VS 2003 with Resharper. I see VS 2005 now implements many of ReSharper "goodies" (refactor, rename, add 'using' etc). However I still can't go to a class member quickly using keyboard only. E.g. in ReSharper (VS 2003) I'd press a shortcut which would display "file structure", then a member would get selected as I type letters it starts with, hit enter and I'm in the member. Long time ago (VS 97/VC++ 5.5 I think), "Class Members" combo box (VC++ editor) were "trackable" (i.e. selection would position on the member starting with the letters type) and one could assign shortcut to expand/focus on members combo box. It's long not the case a ...Show All
Visual Studio Report Viewer - New version?
Any idea when we can expect a new version of the report viewer. Much as I tried I could not find a way to display html from data stored in a database as html. And I believe that functionality will be in the next version. Otherwise I will soon have to go back to the manual method of producing reports, wasting weeks of work using the report viewer. Thanks an icy silence..... is the next version ever gonna happen it would be nice to have some indication or even a CTP ...Show All
Visual C# About properties
Can someone please explain to me in plain english what the following code is saying public string Result { get { if (_userAnswer == _correctAnswer) { return "Correct"; } else { return "Incorrect"; } } } thanks oh, IS dude It seems to be quite nature for you to regard properties as "strange" attributes, while actully they are special method called accessors , which provide a flexible mechanism to read, write, or compute the values of private fields. BR ...Show All
