This must be a dead simple one.
When I put my javascript in MyPage.aspx, I can access server controls and variables by putting them inside <%= %>
When I move this javascript out of MyPage.aspx and put it in MyPage.js, <%= %> makes not a lot of sense. What am I doing wrong.
Here's an example...
I have a code that kinda does what ssrs-subscription can do. Except, users are asking to view the actual attached-report in the body of their emails. So say I'm attaching a .pdf or .mht file to the email. Users want to be able to see these files right in their email.
I've tried the...
I have the following code that properly renders an RDL to a file.
I then email the file as an attachment through an email.
The Question
Users want to be able to see the content of the attachment in the body of the email as well. How would I go about rendering the output file (which is usually...
I have 3 projects in my solution:
Project A
Project B
Project C
Project C references Project B
Project B references Project A
Project A has a "NewExternal.dll" reference.
Naturally when I build Project C, I expect, B, A and "NewExternal.dll" be added to project C. Unfortunately...
We have an excel sheet with 4 or 5 different FormulaArrays.
Now we have to (why? long story, we just have to) remove this formulaArray (I need to repopulate the same region with some new data)
The process of deleting the formulaArray needs to be automated through vba code (why? again, long...
I understand we can setup log-shippings and let it roll. While the log shipping is going on, we can make full-backup and Diff backups without breaking the logshipping?!! It's awesome and I love it.
I'm super curious to know why though?! From what I understand, when we make a full/Diff backup of...
We are just moving to a new windows server 2008, hosting SQL-Server 2008 and Reports.
1. "E-mail Settings" is setup to use a remote smtp server (the server is in the same network as our new server)
2. The report-server is configured for dbmail (I've used EXEC msdb..sp_send_dbmail and it does...
We have a little powershell script to take care of this.
To make the script more robust so we can re-run it and re-use it,
I'm trying to check to see if the database I'm trying to mirror already has a partner...
Something like:
IF (Principal Database has Partner)
Alter Database [TheDataBase]...
I have a code to connect to an FTP server...
When I paste the "RequestURI" in my IE, I enter the password etc and I can download the file from FTP no problem
When I run my code, I get the following error:
The remote server returned an error: (550) File unavailable (e.g., file not found, no...
Is there a view or a property of Microsoft.SqlServer.Management.Smo that'll tell me if a database is already fully recovered?
I'm running a command in powershell to put my database back in recovery mode... however if the database is already fully recovered I get the "The database is already...
We have the following dead-simple restore code:
Restore DATABASE MyDataBaseName with Recovery
I want to turn the above TSQL into powershell (or whatever other Programming language through SMO)
I have the following code:
$restore = new-object Microsoft.SqlServer.Management.Smo.Restore...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.