Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: brage98
  • Content: Threads
  • Order by date
  1. brage98

    Using <%= aspnetControl.ClientID %> in javascript

    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...
  2. brage98

    displaying PDF in email body

    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...
  3. brage98

    Render RDL through powershell

    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...
  4. brage98

    Adding references between multiple projects in a solution

    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...
  5. brage98

    Delete Formula Array through VBA

    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...
  6. brage98

    Why Logshipping and Full/Diff backups work without breaking one anothe

    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...
  7. brage98

    Report Subscription sends an email once and fails afterwards

    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...
  8. brage98

    Mirroring...

    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]...
  9. brage98

    FTP through C# generates NO BATCHES FOR TRANSMISSION error

    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...
  10. brage98

    Is the database fully recovered

    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...
  11. brage98

    Restore With Recovery through SMO

    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...

Part and Inventory Search

Back
Top