Showing posts with label project. Show all posts
Showing posts with label project. Show all posts

Tuesday, March 27, 2012

Ho can I deploy my whole site with the SQL data base attached.

Help me in deploying a web development project with the SQL data base attached to it.

And it get auto configured...

You can connect the master database on your server and you can restore the database using TSQL using RESTORE DATABASE using File & File Group

See more details on books online regarding Restore Database..

|||

Depending upon the Host providers security issues, you may not be allowed to simply 'Restore' a database.

However, the Database Publishing Wizard was created for just this type of situation.

Database Publishing Wizard
http://www.microsoft.com/downloads/details.aspx?familyid=56E5B1C5-BF17-42E0-A410-371A838E570A&displaylang=en

hm...can`t understand, please help

i have this situations:

the aspx file with source code work good.
when i try run project which created from VS i take
"SQL Server does not exist or access denied."
connection strings same:

"Data Source=**.**.**.**,1433;Network Library=DBMSSOCN;Initial Catalog=slider;User ID=username;Password=password;"

i think may be it`s web.config in project wrong?


Edited by SomeNewKid
Removed username and password from connection string.first, awesome job SomeNewKid. :) Glad you snagged that. other's let that go, and cause all sorts of concern.

Anyways, there's multiple means of this happening. First, is your web.config in the root application for iis? check the domain, and examine that it's got it's own application created. Next, ping the data source including the port for the sql server. If it's a firewall issue, you're either going to have to hit a different port or pop a hole. Lastly, verify the username and password is correct by attempting to open a connection through query analyser.

If all else fails.. ctrl+a | del

:)

HistoryID Problem?

Hi I'm trying to use SOAP in a VAB Access 2003 Project. I can connect to the Reporting Services an Create fr example Folders. But if I want to Render a Report i am Getting a Problem.
Error: -2147221504
For ' snapshotID ' indicated parameter value does not correspond to the type of parameter.
I passed an empty String for the optional Value HistoryID.
I dont know where the problem is.
Can anybody help me ?
CODE:
Dim ReportName As String
Dim RenderFormat As String
Dim HistoryID As Variant
Dim DeviceInfo As String
Dim Parameters(2) As struct_ParameterValue
Dim Credentials() As struct_DataSourceCredential
Dim ShowHideToggle As String
Dim resultFile() As Byte
Dim resultEncoding As String
Dim resultMimeType As String
Dim resultParametersUsed() As struct_ParameterValue
Dim resultWarnings() As struct_Warning
Dim resultStreamIds() As String
Set RS = New clsws_ReportingService
ReportName = "/SampleReports/Employee Sales Summary"
RenderFormat = "mhmtl"
HistoryID = 0
DeviceInfo = "<DeviceInfo><Toolbar>False</Toolbar></DeviceInfo>"
ShowHideToggle = ""
Set Parameters(0) = New struct_ParameterValue
Parameters(0).Name = "EmpID"
Parameters(0).Value = "38"
Set Parameters(1) = New struct_ParameterValue
Parameters(1).Name = "ReportMonth"
Parameters(1).Value = "6" ' June
Set Parameters(2) = New struct_ParameterValue
Parameters(2).Name = "ReportYear"
Parameters(2).Value = "2004"
resultFile = RS.wsm_Render( _
ReportName, _
RenderFormat, _
nil, _
DeviceInfo, _
Parameters, _
Credentials, _
ShowHideToggle, _
resultEncoding, _
resultMimeType, _
resultParametersUsed, _
resultWarnings, _
resultStreamIds)
thx for your helpSorry for double posting... but there was an error maeesage so i tryed again.sql

Sunday, February 26, 2012

Hiding sub Reports after deployment

Hi All,
I have two reports and each of them contains 3 sub reports. When I deployed
my project, I don't want the users to see the sub reports. I have set Hide in
list view = Checked for each of the sub report. After doing this when the
users access the reports folder, they do not see the reports until they click
on the Show details, where they again see all the reports. How should I set
this up? Please help!
--
GBM
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-reporting/200705/1On May 3, 7:29 pm, "gbaksh via SQLMonster.com" <u30235@.uwe> wrote:
> Hi All,
> I have two reports and each of them contains 3 sub reports. When I deployed
> my project, I don't want the users to see the sub reports. I have set Hide in
> list view = Checked for each of the sub report. After doing this when the
> users access the reports folder, they do not see the reports until they click
> on the Show details, where they again see all the reports. How should I set
> this up? Please help!
> --
> GBM
> Message posted via SQLMonster.comhttp://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-reporting/200705/1
As far as I know, it does not seem feasible. You might want to create
a custom application that controls the access to the subreports. Sorry
I could not be of greater assistance.
Regards,
Enrique Martinez
Sr. Software Consultant