Script Task Builds Successfully But Still Has Compile Error (SQL 2012)

This is repost in a way but the problem has not gone away and I really need to find a solution.
I have some script from SSIS 2008 that uses the ReportExecution2005
web service to execute SSRS reports and save the results to Excel. There were some initial problems with confusion between Web Service Reference (legacy?) and Service Reference (WCF) but I think that I have that sorted out
now.
The remaining problem is that, while the VB script (which I have pasted in from a working SSIS 2008 Script Task) builds/complies without error, I get a compile error when I close the Script Task and it has the dreaded "Red X" in the Control
Flow. If I attempt to run the package I get a message box saying that there is a compile error.
How can I identify the problem and fix the error? The script itself has no errors in SSIS 2008.
R Campbell

This is the code by the way (see below) as pasted into the Main sub.
I have added
http://localhost/reportserver/reportexecution2005.asmx as a Web Service
Reference (under the  "Advanced" button) not just a Service Reference (WCF).
I can build the code without error but I get an error, saying that there is compile error, when I close the Script Task.
ReportExecutionService definitely shows up in Object Explorer, not the
WCF "equivalent" of ReportExecutionServiceSoapClient.
I have always had the impression, that when you close a Script Task, a compiler kicks in to auto-generate some internal script. Could it be (as seems likely) that this compiler is picking up errors that "Build" doesn't (when the script is open)?
I think that there was once an explicit Compile rather than just Build option in the Script editing environment but I can't find it in SQL 2012 Database Tools (nee BIDS).
Dim objRSExec As New localhost.ReportExecutionService
Dim objParam0 As New localhost.ParameterValue
Dim objParam1 As New localhost.ParameterValue
Dim objParam2 As New localhost.ParameterValu
Dim objParam3 As New localhost.ParameterValue
Dim objParam4 As New localhost.ParameterValue
Dim objParam5 As New localhost.ParameterValue
Dim objParam6 As New localhost.ParameterValue
Dim objParams() As localhost.ParameterValue
Dim objResult() As Byte
Dim objStream As FileStream
Dim FileType As String
Dim FileExtension As String
Dim FilePath As String
Dim NumberOfParameters As Integer
Dim ReportName As String
Dim TaskSuccess As Boolean = True
FileType = Dts.Variables("FileType").Value.ToString()
FileExtension = Dts.Variables("FileExtension").Value.ToString()
FilePath = Dts.Variables("FilePathNameExt").Value.ToString()
ReportName = Dts.Variables("ReportPathName").Value.ToString()
NumberOfParameters = CInt(Dts.Variables("NumberOfParameters").Value) - 1
ReDim objParams(NumberOfParameters)
If NumberOfParameters >= 0 Then
objParam0.Name = Dts.Variables("P0Name").Value.ToString()
objParam0.Value = Dts.Variables("P0Value").Value.ToString()
objParams(0) = objParam0
End If
If NumberOfParameters >= 1 Then
objParam1.Name = Dts.Variables("P1Name").Value.ToString()
objParam1.Value = Dts.Variables("P1Value").Value.ToString()
objParams(1) = objParam1
End If
If NumberOfParameters >= 2 Then
objParam2.Name = Dts.Variables("P2Name").Value.ToString()
objParam2.Value = Dts.Variables("P2Value").Value.ToString()
objParams(2) = objParam2
End If
If NumberOfParameters >= 3 Then
objParam3.Name = Dts.Variables("P3Name").Value.ToString()
objParam3.Value = Dts.Variables("P3Value").Value.ToString()
objParams(3) = objParam3
End If
If NumberOfParameters >= 4 Then
objParam4.Name = Dts.Variables("P4Name").Value.ToString()
objParam4.Value = Dts.Variables("P4Value").Value.ToString()
objParams(4) = objParam4
End If
If NumberOfParameters >= 5 Then
objParam5.Name = Dts.Variables("P5Name").Value.ToString()
objParam5.Value = Dts.Variables("P5Value").Value.ToString()
objParams(5) = objParam5
End If
If NumberOfParameters >= 6 Then
objParam6.Name = Dts.Variables("P6Name").Value.ToString()
objParam6.Value = Dts.Variables("P6Value").Value.ToString()
objParams(6) = objParam6
End If
Try
With objRSExec
.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials
.Url = "http://localhost/reportserver/reportexecution2005.asmx"
.LoadReport(ReportName, Nothing)
.SetExecutionParameters(objParams, "en-us")
objResult = .Render(FileType, Nothing, FileExtension, Nothing, Nothing, Nothing, Nothing)
End With
objStream = File.Create(FilePath, objResult.Length)
With objStream
.Write(objResult, 0, objResult.Length)
.Close()
End With
Catch e As Exception
Dts.Log("ERROR - RSExec - " & e.Message.ToString(), 100, Nothing)
TaskSuccess = False
End Try
If TaskSuccess Then
Dts.TaskResult = ScriptResults.Success
Else
Dts.TaskResult = ScriptResults.Failure
End If
R Campbell

Similar Messages

  • Hi Anil, I was able to compile the Maven test build successfully but still has errors.

    Hi Anil, I am not able to compile the Maven test build successfully but still have errors/warning messages. Can you please help me or tell me if I can
    processed with the tutorials. Thanks.
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>Maven-Test</groupId>
      <artifactId>Maven-Test</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>pom</packaging>
       <dependencies>
    <!-- check if <sap.cloud.sdk.version> and <sap.cloud.sdk.path> in settings.xml are correct -->
    <!-- SAP HANA Cloud SDK dependency -->
    <dependency>
    <groupId>Maven-Test</groupId>
    <artifactId>Maven-Test</artifactId>
    <version>1.48.16</version>
    <scope>system</scope>
    <systemPath>C:/dev/hanacloud.sdk/1.48.16</systemPath>
    </dependency>
    <!-- check if <eclipse.path> and <sap.cloud.ui5.version> in settings.xml are correct -->
    <!-- SAPUI5 dependency -->
    <dependency>
    <groupId>Maven-Test</groupId>
    <artifactId>Maven-Test</artifactId> (I am getting error here)
    <version>1.18.8</version>
    <scope>system</scope>
      <systemPath>C:/dev/eclipse</systemPath>
    </dependency>
    </dependencies>
    </project>
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    [INFO] Scanning for projects...
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for Maven-Test:Maven-Test:pom:0.0.1-SNAPSHOT
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar should use a variable instead of a hard-coded path C:/dev/hanacloud.sdk/1.48.16 @ line 16, column 14
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar should use a variable instead of a hard-coded path C:/dev/eclipse @ line 25, column 15
    [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: Maven-Test:Maven-Test:jar -> version 1.48.16 vs 1.18.8 @ line 20, column 14
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar refers to a non-existing file C:\dev\eclipse @ line 25, column 15
    [WARNING]
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING]
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    [WARNING]
    [INFO]                                                                        
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Maven-Test 0.0.1-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
    Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom (5 KB at 4.3 KB/sec)
    [INFO]
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Maven-Test ---
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3.507s
    [INFO] Finished at: Mon Mar 24 02:27:14 EDT 2014
    [INFO] Final Memory: 5M/99M
    [INFO] ------------------------------------------------------------------------

    It's probably best to close thread and that I start a new one. I think that I have gone off on a tangent here. Yes SSIS isn't doing much of a job in reporting errors but my main concern is the error itself.
    I am trying to port an SSIS Script Task from SQL 2008 to SQL 2012. Is uses the ReportExecution2005 web service to run SSRS reports. The really strange thing is that, even though the same web reference is used, different methods seem
    to be available in SQL 2008 and SQL 2012. This doesn't sound right to me, if you refer to the same Web Service you should see the same metros or am I wrong about that.
    For example in SQL 2008 there is ReportExecutionService
    object but on the SQL 2012 to service there only seems to be
    ReportExecutionServiceSOAPClient.
    R Campbell

  • SSUS 2012 Script Component (VB) Build But Still Has Compile Error

    The title says it all really.
    The Script Component builds without error but when I close the editor (and when I execute the package), I get a message saying that there is a compile error. There is of course a big red "X on the script component. No errors are indicated in the edit
    window or when building the script. Can anyone help? this is really holding me up.
    The script has been copied from a working SSIS 2008 package. It uses the report execution web method. I have successfully changed the web reference to ReportExcution2010, there doesn't seem to be a RepprtExcution2012.
    R Campbell

    It's probably best to close thread and that I start a new one. I think that I have gone off on a tangent here. Yes SSIS isn't doing much of a job in reporting errors but my main concern is the error itself.
    I am trying to port an SSIS Script Task from SQL 2008 to SQL 2012. Is uses the ReportExecution2005 web service to run SSRS reports. The really strange thing is that, even though the same web reference is used, different methods seem
    to be available in SQL 2008 and SQL 2012. This doesn't sound right to me, if you refer to the same Web Service you should see the same metros or am I wrong about that.
    For example in SQL 2008 there is ReportExecutionService
    object but on the SQL 2012 to service there only seems to be
    ReportExecutionServiceSOAPClient.
    R Campbell

  • Windows Server Backup scheduled task run successfully but backup do not start (not running) on Windows Server 2012

    Hi,
    A backup job has been setup on Windows Server 2012 (Platform: Win32NT; ServicePack: ; Version: 6.2.9200.0; VersionString : Microsoft Windows NT 6.2.9200.0) via Windows Backup Software UI (Local Backup 1.0).
    It is appearing as a scheduled task "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup" belonging to user 'nt authority\system' in task scheduler.
    The problem is that the Backup job never start despite the scheduled task running and completing successfully (when run automatically or manually)!
    Would you be able to explain why and assist in resolving that issue?
    Here is what we know:
    When the backup is run manually via the Windows Backup Software UI, it works fine.
    When the backup is run via command line (as set in schedule task) in a cmd command prompt (as local/domain 'administrator' or as 'nt authority\system' which is possible by running command prompt via 'PsExec.exe -i -s cmd'), something like "%windir%\System32\wbadmin.exe
    start backup -templateId:{f11eb3aa-74e7-4ff4-a57b-d8d567ee3f77} -quiet", it works fine.
    If you manually run the preset scheduled task while logged in as administrator, the task run and complete successfully but the backup job does not start.
    Idem if you schedule task is run automatically at scheduled time.
    The schedule task run and complete successfully but the backup job does not start.
    It is confirmed by running the following in a command prompt as 'nt authority\system':
    schtasks /run /tn "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup"
    SUCCESS: Attempted to run the scheduled task "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup".
    Despite success result, the Backup job does not start running...
    No errors or warning appears anywhere in Event Logs (Microsoft > Windows > Backup or Task Scheduler) nor in the scheduled task History tab. The schedule task complete successfully but no Backup job is run...
    If scheduled task automatically set by Windows Backup software is duplicated (copied) and set manually it runs fine as 'administrator' and as 'nt authority\system' (subject that 'nt authority\system' is added to the 'Backup Operators' AD group).
    Here is an export of the current pre-set schedule task, is there any settings that need to be changed to make it works?
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Author>MYDOMAIN\SERVER1</Author>
        <SecurityDescriptor>D:AR(A;OICI;GA;;;BA)(A;OICI;GR;;;BO)</SecurityDescriptor>
      </RegistrationInfo>
      <Triggers>
        <CalendarTrigger id="Trigger 1">
          <StartBoundary>2014-07-14T21:00:00</StartBoundary>
          <Enabled>true</Enabled>
          <ScheduleByDay>
            <DaysInterval>1</DaysInterval>
          </ScheduleByDay>
        </CalendarTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>S-1-5-18</UserId>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>true</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>false</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
        <UseUnifiedSchedulingEngine>false</UseUnifiedSchedulingEngine>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>%windir%\System32\wbadmin.exe</Command>
          <Arguments>start backup -templateId:{f11eb3aa-74e7-4ff4-a57b-d8d567ee3f77} -quiet</Arguments>
        </Exec>
      </Actions>
    </Task>
    Thank you in advance for your feedback.

    Once again, the issue is not to run the backup manually from the command line but to have it run via the scheduled task setup by the Windows Backup software.
    By default, the schedule task is to be run as NT Authority\System, and when run under this account, the backup does not start (even though account is member of Backup Operators) and job can manually be run via elevated command prompt. This is not a normal
    behavior and constitute a major bug in Windows Server 2012.
    From my understanding the NT Authority\System account is a built-in account from Windows that should by default be part of the Administrators group (built-in) even though it does not explicitly appears like it in AD by default.
    This account shall have by default Administrators rights and Backup Operators rights (via the Administrators group) without being explicitly added to those groups (http://msdn.microsoft.com/en-gb/library/windows/desktop/ms684190%28v=vs.85%29.aspx). By design
    it is supposed to be the most powerful account which has unrestricted access to all local system resources. If that is not the case (as it seems) then this would constitute a major bug in Windows Server 2012 edition.
    As said previously and as you confirmed, currently by default NT Authority\System on Windows 2012 server cannot start backup manually via an elevated command prompt unless it is manually added to Backup Operators (or Administrators) group. But wouldn't that
    constitute a bug of Windows Server 2012?
    Our server has not yet been restarted since I added NT Authority\System account to the Administrators group explicitly manually so I cannot yet confirmed it would sort the issue. Indeed it is heavily in use so cannot easily be restarted. Will confirm when
    done.
    We also have an additional problem where after a while of last reboot, part of the Exchange ECP can no longer be properly loaded in the web browser due to compilation error (compilation is done via NT Authority\System account which seems to no longer have
    sufficient right to compile .NET code). What is strange is that it works at first and then stop working at some point... I am hopeful that adding NT Authority\System to the Administrators group would sort this issue as well but once again, that shall not be
    needed!!!
    Could a Windows Server 2012 update introduced some security policy changes or else that prevent NT Authority\System to have full power?

  • My iPod Classic 160GB is recognized by computer, and goes through sync process, but still has old stuff...

    My iPod Classic 160GB is recognized by computer, and goes through sync process, but still has old stuff...
    I feel like there must be an issue with the library location, but I don't know how to correct that.  My Dad recently wiped my computer and deleted Windows XP and installed Windows 7.  I don't know what he did, but my iTunes library is still intact it seems. However, I've added quite a few podcasts that I'd like to sync to my iPod.  When I connect it, it goes through the sync process, but ends quickly and says its safe to disconnect.  None of the new podcasts are on there though.
    Also, there was something really wrong with my iTunes account.  When I went to buy something from the store, it wouldn't accept my password, and when I went to reset it, it wouldn't recognize my birthdate and month (I had the correct username).  I ended up creating a new account and purchasing a song.  This time, it did sync the new song onto my iPod, but not the podcasts I'm trying to sync.
    As far as the library location, is there anything particular that has to be included in that library in order for it to be recognized by iTunes when you sync?  Awhile back (before my Dad worked on my computer), I had changed the folder location to my external hard drive, but in researching, I saw that I still had in another drive some folders with music that is currently on my iPod.  So it looks like I have some stuff on two different drives... Maybe this has something to do with it not syncing right?
    I did check, and my Firewall doesn't have iTunes blocked.
    As you can see, I'm not very experienced with all of this... Sorry for the confusion.  If you are interested in helping me and have any questions, please let me know.
    I'm hoping someone will be able to help me... I desperately want to be able to listen to my podcasts, as I'm a stay-at-home Mom of 4 little ones, and the podcasts are kind of an "escape" for me when the children are napping or playing. :-) 
    Thank you in advance for your help!

    Oh my goodness!!  I am absolutely thrilled right now B-rock!!  I don't know how I missed it, but when I went back to change the setting like you mentioned, I noticed that the very top box that says "Sync Podcasts" wasn't checked!  I have no idea why... But my heart started to race when I checked that box and all of a sudden it started syncing all my podcasts!!  It's gonna take a long time (I have 385 of them!), but I am just so happy you helped me with this problem.  Thank you SO much! 

  • I have a gift card that has been redeemed once but still has money on it how do I reredeem it?

    I have a gift card that has been redeemed once but still has money on it how do I reredeem it? If possible

    Expanding on what Niel said, once you redeem a gift card, the amount of the card is registered in your iTunes Store account and the card can be trashed. All you need do now is log into your iTunes Store account, the one you redeemed the card through, and make purchases. The cost will be deducted from your credit balance automatically.
    A couple of caveats/warnings:
    - you can buy anything in the iTunes Store with the balance other than a gift for someone else;
    - if you don't have a credit card also registered to your account, keep careful watch on your balance so you don't overspend it. If you do, the purchase will go through but you won't be able to download anything else, even free content or items you already purchased, until you add another gift card or a credit card to cover the amount you owe.
    Regards.

  • Hello, today I am subscribed to  photoshop CC  but still has not passed and the activation of the post did not come serial number that do tell me?

    Hello, today I am subscribed to  photoshop CC  but still has not passed and the activation of the post did not come serial number that do tell me?

    creative cloud does not use a serial number.  it uses your adobe id.
    download the creative cloud desktop app (after signing in with your adobe id), Download Adobe Creative Cloud apps | Free Adobe CC trial
    and use the desktop app to install your adobe creative cloud programs.
    if you already have the cc desktop app and you need to refresh your adobe id, Sign in, Sign out | Creative Cloud desktop app

  • Updated success but still showing one update in setting

    Hello,
    In my iPhone 4s I upgraded to ios 8 successfully but still in my mobile showing there is one update from out side settings  but when  go and see in the
    setting--->general-->software update...> the software is up to date
    how to resolve this issue please any one help me on this.

    Most likely it is an update for your phone's OS. That is the one on settings.
    The 43 ones on the App Store are updates for the installed apps.
    What you need to do is to connect the phone on the internet and get the password for the apple id used to download the apps.

  • Is there a iMovie HD that works with intel processors but still has all the conversion features like iMovie Hd 5.02.(111)

    is there a iMovie HD that works with intel processors but still has all the conversion features like iMovie Hd 5.02.(111)

    iMovie version 6.

  • My iphone has a black screen and wont turn on, but still has vibrations. How can I fix it?

    My iphone wont turn on but still has functions, how do I fix it?

    Did you already try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again? You will not lose data by resetting.
    If this does not work, try to connect in recovery mode, explained here:
    iOS: Unable to update or restore

  • The user or users have been added successfully, but there was an error in sending the e-mail message. The server may not be set up correctly to send e-mail. To verify that e-mail is configured correctly, contact your server administrator

    I got this problem when I tried to configure out-going email and add an account to farm administrator group.
    I configure out-going email according to this website http://technet.microsoft.com/en-us/library/cc288949.aspx
    Here are the screen shots.
    The SMTP server and email accounts work out OK when I use Outlook 2010 to test.
    Anyone can help me about it? Thanks.
    Here is the log.
    09/20/2012 09:21:00.36 w3wp.exe (0x1F7C)                      
    0x1138
    SharePoint Foundation         E-Mail                        
    8gsf
    High    
    #160008: The e-mail address 'admin3.sharepoint@domain' contains illegal
    characters. df98555c-612f-4a58-9443-ab6e9a4fcc53
    09/20/2012 09:21:00.36 w3wp.exe (0x1F7C)                      
    0x1138
    SharePoint Foundation         General                      
    8kh7 High    
    Cannot complete this action.  Please try again.
    df98555c-612f-4a58-9443-ab6e9a4fcc53
    09/20/2012 09:21:00.36 w3wp.exe (0x1F7C)                      
    0x1138
    SharePoint Foundation         E-Mail                        
    7946 Critical
    Cannot complete this action.  Please try again.
    df98555c-612f-4a58-9443-ab6e9a4fcc53
    09/20/2012 09:21:00.36 w3wp.exe (0x1F7C)                      
    0x1138
    SharePoint Foundation         Runtime                      
    tkau Unexpected
    Microsoft.SharePoint.SPException: The user or users have been added successfully, but there was an error in sending the e-mail message. The server may not be set up correctly to send e-mail. To verify that e-mail is configured correctly, contact your
    server administrator.    at Microsoft.SharePoint.ApplicationPages.AclInv.SendEmailInvitation(EntityEditor picker, String subject, String message)     at Microsoft.SharePoint.ApplicationPages.AclInv.BtnOK_Click(Object sender, EventArgs e)
        at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String
    eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStage...
    df98555c-612f-4a58-9443-ab6e9a4fcc53
    The e-mail address I have tested it for several times and there is no problem.
    Anyone has any clue about this error?

    Hi.
    This I have seen before...
    It can be that the SMTP relay server is configured to only allow certain IP ranges or addresses.
    It can be that the firewall on the SP server does not allow for SMTP traffic (normally 25, for example for Exchange).
    It can be that there is an Antivirus on the SP server(Client AV) that prohobits the Timer service to send email from this server. I have seen MacAfee do this. Needed an policy change.
    If, its the builtin SMTP service you are using, check this link:
    http://blog.sharepointrx.com/2010/11/18/setting-up-the-iis-smtp-server-for-sending-email-from-sharepoint-2010-on-server-2008-r2/
    Check that and try again.
    Regards
    Thomas Balkeståhl - Technical Specialist - SharePoint -
    http://blog.blksthl.com
    Download the SharePoint Branding Project here
    Download the SharePoint 2010 Site Settings Explained here

  • After installing itunes 10 installation was successful but then tells me error 2 (windows error 2), After installing itunes 10 installation was successful but then tells me error 2 (windows error 2)

    After installing itunes 10 installation was successful but then tells me error 2 (windows error 2).

    Let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe, and select "Extract to iTunesSetup". WinRAR will expand the contents of the file into a folder called "iTunesSetup".
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you? If so, does iTunes launch properly now?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • REP-50159: Executed successfully but there were some errors when distribt

    Hi,
    i get this error(REP-50159: Executed successfully but there were some errors when distribute the output)
    when i distribute output using following url.
    http://myserver.com:7778/reports/rwservlet?server=rep_myserver_oracleas2+report=D:\Reports\emp.rdf+userid=abc/xyz@mydb+desformat=pdf+DESTYPE=mail+DESNAME="[email protected]"+FROM="[email protected]"
    I am working on ORA AS 10g(10.1.2.0.2),Windows Server 2003
    Please mark out suggestions.
    Regards,
    IK

    @Inol ...yea i have configrd the mail server(smtp) properties in report server,when the destype is file, the url works fine.i.e generate the file on specified location.
    but using destype mail, it fails, whether i use the url, or use the even driven api procedure..
    Running the procedure its the debugged out put with error...
    * WELCOME TO EVENT-BASED-REPORTING API *
    * API-Version : 9i *
    * (C) Oracle Corporation, 2000 - 2002 *
    * Debugging turned ON **************************
    *** Length of Paramlist : 1
    OK : Parameter added : GATEWAY=http://myserver.com:7778/reports/rwservlet
    *** Length of Paramlist : 2
    OK : Parameter added : SERVER=rep_myserver_oracleas2
    *** Length of Paramlist : 3
    OK : Parameter added : REPORT=D:\Reports\emp.rdf
    *** Length of Paramlist : 4
    OK : Parameter added : USERID=abc/xyz@mydb
    *** Length of Paramlist : 5
    OK : Parameter added : DESTYPE=mail
    *** Length of Paramlist : 6
    OK : Parameter added : DESFORMAT=PDF
    *** Length of Paramlist : 7
    OK : Parameter added : [email protected]
    Starting run_report: building url
    *** Building URL (RUN_REPORT)
    OK : URL built :
    http://myserver.com:7778/reports/rwservlet?SERVER=rep_myserver_oracleas2&REPO
    RT=D%3A%CReports%5Cemp.rdf&USERID=abc%2Fxyz%40mydb&DESTYPE=mail&D
    ESFORMAT=PDF&DESNAME=khan.emran84%40gmail.com&statusformat=xml
    *** Submitting HTTP Request
    *** using URL
    :http://myserver.com:7778/reports/rwservlet?SERVER=rep_myserver_oracleas2&REP
    ORT=D%3A%5CReports%5Cemp.rdf&USERID=abc%2Fxyz%40mydb&DESTYPE=mail&
    DESFORMAT=PDF&DESNAME=khan.emran84%40gmail.com&statusformat=xml
    OK : Request submitted - Return stream : <?xml version = '1.0' encoding =
    'ISO-8859-1' standalone = 'yes'?>
    <serverQueues>
    <error code="50159"
    component="REP" message="Executed successfully but there were some errors when
    distribute the output"/>
    <
    OK : Request submitted - Length of stream : 229
    *** XML-Parsed - Following Structure discovered :
    *** Checking elements!
    serverQueues ()
    *** Checking attributes!
    error
    *** Checking attributes!
    __code = 50159
    __component = REP
    __message = Executed successfully but there were some errors when distribute the
    output
    *** Finished Parsing XML
    Getting value for element: job
    Getting value for element: error
    *** Requesting value for Attribute error.component [REP]
    Getting value for element: error
    *** Requesting value for Attribute error.code [50159]
    Getting value for element: error
    *** Requesting value for Attribute error.message [Executed successfully but
    there were some errors when distribute the output]
    REP-50159:Executed successfully but there were some errors when distribute the
    output
    declare
    ERROR at line 1:
    ORA-20999:
    ORA-06512: at "NRSP.SRW", line 264
    ORA-06512: at "NRSP.SRW", line 799
    ORA-06512: at line 15
    --- i am stuck here...
    -- Googled the error but in vain.....

  • I suddenly am unable to retrieve my emails.  I discussed this with my Internet provider, but still get an error message and can't access my emails.  Any suggestions???

    I am unable to retrieve my emails since yesterday.  I called Time Warner Cable, my Internet provider, but they could not help me; they stated that the settings had changed, since they were upgrading.  I adjusted the settings, but still get an error message: 
              Alert
              There may be a problem with the mail server or network.  Verify the settings for account "Mail 1" or try again.
              The server returned the error:  The connection to the server "smtp.roadrunner.com" on port 110 timed out.
    I changed the server, and the port, as Time Warner Cable tech rep recommended, but to no avail.  They recommended I delete my current email account and recreate it, but that I check with Apple first, because I might lose my contact list (and any email messages I'd previously saved!?).  They suggested Apple might be able to tell me how to not lose the contacts, emails, profile.
    Any help would be appreciated. 

    Hi, what Interface are you using, & which one are you checking?
    Each Interface will have it's own settings.
    Though all of these steps may or may not be needed, I'm including them all.
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    10.4 instructions...
    Is that Interface dragged to the top of Network>Show:>Network Port Configurations.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6/10.7/10.8, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    (There may be better or faster DNS numbers in your area, but these should be a good test).
    Click OK.

  • How received the following error message:  iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 998).  I did what was requested and reinstalled iTunes, but still get this error message.  Help!

    My Toshiba laptop just recently started showing the the following error message when I try to open iTunes: " iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 998)".  I did what was requested and reinstalled iTunes, but still get this error message.  Help!

    b noir I never got any message about an entry point
    Many thanks. If we're looking at a "naked" Error 7, I'd start with box two in the following user tip:
    Troubleshooting issues with iTunes for Windows updates

Maybe you are looking for