Wednesday, March 21, 2012
How to email one set of data from app database.
My vb.net app will use msde for database needs. The app is a tool in which the app user (companyA) will do some planning for their clients. So basically, the database will have information about all the clients (Sam, Julia, Peter, Nancy etc) of our cust
omer (companyA). Now suppose there is some error happening in the application for user Nancy, and we want the companyA to send us only Nancy's data so that we can duplicate the error and debug it. How do we do that...
In previous versions of our app where we used the flat files for data storage, we will just tell the companyA to email us Nancy.ourFile so that we can have a look at the data which is causing the problem. How to extract only Nancy's data from the whole d
atabase...
Thanks
dev
No replies anyone... Andrea/Aaron where are you all...
Thanks
dev
"dev_kh" wrote:
> Hi,
> My vb.net app will use msde for database needs. The app is a tool in which the app user (companyA) will do some planning for their clients. So basically, the database will have information about all the clients (Sam, Julia, Peter, Nancy etc) of our cu
stomer (companyA). Now suppose there is some error happening in the application for user Nancy, and we want the companyA to send us only Nancy's data so that we can duplicate the error and debug it. How do we do that...
> In previous versions of our app where we used the flat files for data storage, we will just tell the companyA to email us Nancy.ourFile so that we can have a look at the data which is causing the problem. How to extract only Nancy's data from the whole
database...
> Thanks
> dev
sql
Monday, March 19, 2012
How to dynamically process a Model in a Web App
Hi,
I am a novice at Data Mining realm on SQL Server.
Scenario:
I have created a Time Series model and deployed it into SQL Server. I hope users can see forecast based on the up-to-date data residing in data source rather than the old ones used to train the model. In a addition, the interface provided for users is a .aspx.
Problems:
What ADO APIs should I exploit to dynamically process the model, perform the forecast and retrieve the results.
Any help would be appreciated.
Best Wishes,
Ricky.
You would likely use ADOMD.NET, not ADO.NEt, but the results would essentially be the same. You would likely want to create models on the fly for this solution, much the same way we do for the Excel addins. You can download the addins and use the trace mechanism to see what commands we send to the server.
Essentially, you want to use CREATE SESSION MINING MODEL, INSERT INTO (you can use an input rowset, or an openquery if your data is in a database), and then SELECT PredictTimeSeries(...) to get the forecast.
Using a session model will cause the model to automatically be deleted on disconnection. Note that you will have to turn on the server property to allow session models.
|||Thanks a lot, Jamie.
Could you give a tutorial or exmaple code to see the deatils?
Regards,
Ricky.
|||The sample here (http://www.sqlserverdatamining.com/DMCommunity/LiveSamples/1866.aspx) creates and trains models dynamically|||Many Thanks, Jamie
Regards,
Ricky.
|||mr jamie...
this link seems to be dead
please send in the link again
|||http://www.sqlserverdatamining.com/DMCommunity/LiveSamples/1866.aspx
|||hi jamie..
could u look into this thread plz...
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1449395&SiteID=1
;m stuck at thiz prb...
i've reinstalled the dm viewer controls.......
now here is wat i read in the readme file as to how to use the dm viewer controls:
In the Winform designer, right click on the Toolbox and select 'Choose Items...' menu item. Hit the Brows button and select file 'Microsoft.AnalysisServices.Viewers.dll'. Hit the OK button to add all the viewer controls to your toolbox.
the prob is tat i can't find this file:'Microsoft.AnalysisServices.Viewers.dll'
do u think i've gone wrong somewhr in the installation of the viewer controls?
or is there somethin else that i must do?
how to dynamically create report in web app?
I am rather new to report service. What I want to achieve is prvide a web
page and let users to choose what fields they want to see, what table they
want to query and what formats they want to apply.
Is it something achievable? Would someone give me some tutorial or hints?
Many Thanks
--
hello, please helpAlthough possible it is not trivial. You need to know the RDL specification
(go to MSDN.microsoft.com and search on RDL specification, there are several
articles). Then there is the issue that this is a server based product, you
cannot change the RDL on the fly. You have to publish the RDL. With RS 2005
you can use the new controls and give the control the RDL and the dataset
(in local mode you do not even need the server). These controls come with VS
2005 (Not with SQL Server). So, check out the spec and see if this is really
something you want to tackle. Depending on the complexity you might be
better off to use XML and XSL instead.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"jerry.xuddd" <jerryxuddd@.discussions.microsoft.com> wrote in message
news:78300BE1-38D8-4491-997D-2C4C0EC98AFE@.microsoft.com...
> Hello,
> I am rather new to report service. What I want to achieve is prvide a web
> page and let users to choose what fields they want to see, what table they
> want to query and what formats they want to apply.
> Is it something achievable? Would someone give me some tutorial or hints?
> Many Thanks
> --
> hello, please help
Monday, March 12, 2012
how to dump database to MSDE
Hi
In my app. i'm using sql server 2000 now I want to move to MSDE2000. I have two Queres. my application environment is Vb.net
1.how to dump my sqlserver database which i was already using to theMSDE and
2.can i connect this MSDE to MSSqlServer2000
hi,
GRK wrote:
Hi
In my app. i'm using sql server 2000 now I want to move to MSDE2000. I have two Queres. my application environment is Vb.net
1.how to dump my sqlserver database which i was already using to theMSDE and
you can "move" the database from the SQL Server 2000 to the MSDE instance in 2 easy ways..
1. you can backup (full backup) the database on the original machine, move the backup to the MSDE machine, restore the database onto the MSDE instance..
2. detach the database from the SQL Server 2000 instance, copy all database files to the MSDE machine, attach the database to the MSDE instance (and obviously reattach the original database to the original SQL Server 2000 instance)..
you obtain the very same result, and you have to deal with the very same issues.. eventual "Orphaned Users"..
2.can i connect this MSDE to MSSqlServer2000
the question is not clear to me.. if you mean to "access MSDE from the SQL Server 2000" instance as a linked server (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_1_server_4uuq.asp as well), then yes, this is possible... a "commercial" issue is present as this connection has to be properly licensed...
regards
|||Hi Andrea ,
Thank you verymuch.
-GRK
Friday, March 9, 2012
How to download a file from SQL Server in my Web APP
Do you know how can do for downloading a file stored in a database?. I'm using a table with a FILE field for storing the file.
I know i have to create a special aspx page for downloading, that receives parameters to locate the proper record in the table and then retrieve the file in memory to start downloading.
I have done this with file located at specific folders but not a database's field.
Another thing... the file may be big.
Dou you have any idea about retrieving from sql and sending the file back to the final user?
I really appreciate your support.
Larry.Here's 2 articles, the first is for smaller files, the second is more complicated but better for larger files:
http://support.microsoft.com/kb/316887
http://support.microsoft.com/default.aspx?scid=kb;en-us;317043
Friday, February 24, 2012
How to do this ?
I really appreciate your help !
Sincerely
The first place to start is the Microsoft site.
http://www.microsoft.com/sql/technologies/reporting/default.mspx
|||Hi,Thnx Brad
Can u suggest me any book speaks about creating reports in VS.NET (2003 or 2005) using SQL Report Services (SQL 2000 or 2005) .
I value your help!
Best regards|||For RS 2000 the book "Microsoft Reporting Services in Action" by Teo Lachev is very good.