PEAP username format

I just setup PEAP (MS-CHAP) for wireless authentication from Windows XP client to WLSE express RADIUS server using Windows Domain Authentication. We installed Remote-Agent-ACSse on a domain controller. Everything works fine if we enter username and password without domain name on the XP client. If we enter domain name or use single sign on, XP sends the username in the format <domainname>/<username> (to see in RADIUS debug log on AP) and the authentication fails on the Remote-Agent-ACSse service. If we enable 'authenticate as computer ...' XP sends username in the format host/<hostname>.<domainname> and authentication also fails.
Any idea how to solve this problem?

I think you are running into the same problem i am running into. My Authentications is rejected once it has \ i can't seem to find a solution also. I changed my configuration to use LDAP instead of Windows Domain Authentication and the same thing happens. If i use Aironet Desktop Utility it works fine because the username is simply sent as without the domain.I have a TAC case with cisco and still waiting feedback.

Similar Messages

  • AuthenticationFailedException-invalid username format..?

    Hi gurus;
    Well i am facing a problem in trying to retrieve mail but can not be authenticated.It is giving only this exception
    AuthenticationFailedException-invalid username format
    I don't know what does invalid username format it means.
    I have make following code..
    ////////////////////////RecieveMail////////////////////////////
    public class RecieveMail extends javax.servlet.http.HttpServlet{
    public void doGet(javax.servlet.http.HttpServletRequest req,javax.servlet.http.HttpServletResponse res){
    try{
    Properties props = System.getProperties();
    props.put("mail.protocol.store","pop3");
    props.put("mail.pop3.auth", "true");
    Authenticator myAuthenticator = new Authentication("jawwad_33","super@12");
    Session session=Session.getDefaultInstance(props,myAuthenticator);
    Store store = session.getStore("pop3");
    store.connect("pop.themail.com","jawwad_33","super@12");
    }catch(Exception e){
    System.out.println("Exception is e"+e);
    /////////////////////////////Authentication/////////////////////////////
    public class Authentication extends Authenticator {
    public static String user;
    public static String pwd;
    public Authentication(String userid,String pwd){
    this.user=userid;
    this.pwd=pwd;
    public PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication(this.user,this.pwd );
    Will be very thankful for any kind of help.
    Thanks
    Jawwad Ahmed

    Hi;
    I found the mistake right now.I have to use [email protected] so it will work.
    Thanks
    Jawwad Ahmed

  • Username Format first.last vs. firstlast?

    I'm currently setting up the domain using Mac OS X Leopard Server for a client. Their email address are currently in the [email protected] format. It seems like I could get it to automatically set up email on a new machine using MCX if the company had chosen the [email protected] format - but they didn't.
    Is there a way to get a period in between the first and last portions of the shortname in Workgroup Manager?
    Thanks!

    Hi
    If I understand you correctly then Yes. Simply create another short name. I can't quite remember now but I think you can have up to 99 shortnames? Whatever the figure its quite a few. Interestingly apart from the first shortname each successive shortname can be 250-ish characters long. This was true for 10.4. Perhaps its the same for 10.5?
    You can't as far as I know add a full point between the first and last names for the shortname when the account is first created. Leastways I've never managed it. Again this was true for 10.4. It's been a while but I think it was possible in 10.3? As far as LDAP Services go I have a feeling only the first shortname gets pushed out? As far as I know any other shortname should be able to be used for email.
    Tony

  • IE11 doesn't accept format of domainname\username when authentication through ADFS

    I am using IE11 , when I log on to Office365 through ADFS , the login page only accepts userprincipalname format . It doesn't accept domain\username format , if use domain\username , password will prompt again and again .
    However , the issue is not happening on Firefox or Chrome on same computer , and also , the issue is not happening on a different computer which has same IE version .
    could anyone please help me on this ? Thanks in advance

    Hi,
    Since this just happens on a single computer, I suggest to reset the Internet Explorer,by resetting Internet Explorer settings, you return it to the state it was in when it was first installed on your computer. This is useful for troubleshooting problems
    that might be caused by settings that were changed after installation,
    reset Internet Explorer in this way:
    a. Close all Internet Explorer and Explorer windows that are currently open.
    b. Start Internet Explorer.
    c. On the Tools menu, tap or click Internet options. If you don't see the Tools menu, press Alt.
    d. In the Internet Options window, tap or click the Advanced tab.
    e. Tap or click Reset
    Details can be found at:
    http://support.microsoft.com/kb/923737
    Regards
    Wade Liu
    TechNet Community Support

  • 802.1x PEAP Windows 2008 NPS Certificate

    I've setup a centrally switched SSID on a 5508 WLC utilising 802.1x PEAP authentication to a pair of Windows 2008 NPS which authenticate the PEAP username and password to our Active Directory domain.
    Currently the Windows 2008 NPS servers are utilsing a server certificate issued from our internal Certificate Authority with the certificate being presented to the device upon connection depending upon which server the WLC sends the authentication too. The servers names on the internally issued certificate are in the form of:
    Server01.domain.local
    Server02.domain.local
    Due to these certificates being internally issued certificates when some devices specifically Apple iPad and iPhones connect to the SSID initally they are prompted to accept the certificate but it is listed as not verified as its issued by an internal domain CA and not an external root certificate authority.
    I am going to be obtaining an external root CA issued certificate for both servers to replace the internally issued certifcates however I notice using the internal certificate if I connect a device to the SSID and accept the certificate of server with certificate name server01.domain.local and then if disable the ability for clients to connect to server01 the WLC will automatically forward the authentication connection to the next server on the list however as this server is presenting a different certificate "server02.domain.local" devices which are conducting certificate validation will fail to connect as the certificate does not match the previously accept certificate.
    Does anyone know a way around this?
    Will adding say server02.domain.local as an additional name to the certificate for server01.domain.local resolve this issue?

    Hi,
    Please confirm the Win7 clients has renew the certificate and deleted the old certificate. And confirm you are not using the default server certificate template.
    More information:
    Renew a Certificate
    http://technet.microsoft.com/en-us/library/cc730605.aspx
    NPS Server Certificate: Configure the Template and Autoenrollment
    http://msdn.microsoft.com/en-us/library/cc754198.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Sqlplus set statement:format the output without specifying every col length

    Hi ppl,
    i am writing below query inside a shell script. Is there any way to format the output of sqlplus without providing the name of all the columns that we are going to output. for example, in below code i have specified the column width of the columns i want to output. but if the number of columns is large (or when we want to do a select * from...) then it becomes tedious to write all of them. Is there any way i can define display length all the columns to be of same size.. or at least all the number columns of one size, char columns of one size etc...
    sqlplus -sa/passwd@db_name << EOF
    SET ECHO ON;
    SET HEADING ON;
    COLUMN USERNAME FORMAT A20;
    COLUMN USER_ID FORMAT A20;
    COLUMN PASSWORD FORMAT A20;
    spool filename.txt
    some qry... ;
    exit
    EOFThanks
    Edited by: KnockTurnAll on 25 Oct, 2010 10:41 PM
    Edited by: KnockTurnAll on 26-Oct-2010 04:25

    My SQL*Plus is a bit rusty, but I don't think you can for characters. You can set NUMWIDTH for a default size for numeric columns.
    You could write a small bit of SQL to generate the required column definitions. You could even hit ALL_TAB_COLUMNS to generate a generic 'set every column width' file and run it as a separate sql script in your main script. Not sure if there is an upper limit on the number of Columns you can define.
    Back in the day when we did everything with SQL*Plus scripts, we had a standard columns file that we called in all our scripts, just for this purpose.
    Carl

  • Username not in dba_ts_quotas

    RDBMS : Oracle 10.2
    Hi,
    When I query view dba_uses, I can see username ,default_tablespace for user A.But when I query dba_ts_quotas , user A does't exist there.
    If user exist, why oracle not showing his details in dba_ts_quotas?

    Centinul and Sybrand have basically answered your question. I was just wondering what your query looked like and am going to offer one I have for comparison purposes:
    set echo off
    --  Display all quotas on a tablespace
    --  Unlimited quota is treated as 0 quota used, 100% of avail tblspc 4 use
    --  20030911  Mark D Powell   Rewrite fr scratch
    set pagesize 90
    column QI              format a15   heading 'QUOTA'
    column PQU             format 990.9 heading '%|QUOTA|USED'
    column PTS             format 990.9 heading 'USAGE|AS %|Tblspc'
    column QTS             format 990.9 heading 'QUOTA|AS %|Tblspc'
    column tablespace_name format a15
    column used                         heading 'BYTES|USED'
    column username        format a12
    select
      q.tablespace_name
    ,q.username
    ,case when q. max_bytes = -1 then 'UNLIMITED'
                                  else  to_char(q.max_bytes)
      end  as QI
    ,q.bytes             as used
    ,case when q.max_bytes = -1 then 0
                                 else q.bytes / q.max_bytes * 100
      end  as PQU
    ,q.bytes / fs * 100  as PTS
    ,case when q.max_bytes = -1 then 100
                                 else q.max_bytes / fs * 100
      end  as QTS
    from
      dba_ts_quotas q
    ,(select
         tablespace_name
        ,sum(bytes)      as fs
       from
         dba_data_files
       group by
         tablespace_name
      ) ts
    where
      q.tablespace_name = ts.tablespace_name
    order by
      tablespace_name
    ,username
    /HTH -- Mark D Powell --

  • Old format apple ID password

    I just bought a new Macbook Pro and copied everything over from my old 2008 Macbook Pro.  My iTunes library consists of purchases made with my new [email protected] apple ID, which I was forced to create when I got my iPad in December, and my old apple ID, which is the simple username format.  The new macbook pro is demanding a password for the old format apple ID, and I have no idea what that password is.  Nor do I likely have access to the email account it is linked to, because I likely used my school email address which is long since inactive.  I tried retrieving the password with the security questions, but it insists I don't know my own date of birth!   How do I fix this, please??
    (Note:  My iPad played nicely with the two IDs when I was syncing it through the old 2008 macbook pro.  I have not dared try syncing it with the new laptop yet.)

    Never mind.  It seems that authorizing the new macbook for the @email.com ID has also authorized the old ID purchases too.

  • Help required with ADFS 3.0 client certificate authentication

    Hi,
    I am currently working on integrating ADFS 3.o for Single Sign On to some 3rd party services along with PKI solution. The basic requirement is that I should be able to choose client authentication certificate as an authentication method in ADFS and then
    federate user credentials to 3rd party trust for single-sign-on.
    I had done this successfully with ADFS 2.0 and that setup is working fine. I have the setup as ADFS 3.0 client authentication method enabled. When I open browser to logon, the ADFS 3.0 page displays a message as "Select a certificate that you want to
    use for authentication. If you cancel the operation, please close your browser and try again." but the certificates are not displayed for selection.
    The certificates are valid and have valid chaining to CA. Could someone help me resolve this issue?
    Thanks!
    -Chinmaya Karve

    Hi Yan,
    Thanks for your response. I have gone through the posts that you have suggested, and my setup looks pretty much as expected.
    So, as I mentioned earlier, I have 2 parallel setups with 3rd party service(SalesForce). Once of them is running ADFS 2.0 and another one has ADFS 3.0. I can logon to the third-party services, from both the setups using username/format. I can logon to SF
    using client authentication certificate from ADFS 2.0 setup, but from the same client machine, when I try to logon SF via ADFS 3.0, the browser just does not pick up any certificate. The page just shows message of "Select a certificate that you want to use
    for authentication. If you cancel the operation, please close your browser and try again.".
    I have checked the browser, and it has the right certificates. Also, the same browser/machine is used to logon to SF through ADFS 2.0 via client certificate, which works just fine !
    I am really confused now, as to whose issue this really is...
    Just to confirm, I am using Certificate Authentication from ADFS 3.0 Authentication Methods for both Intranet and Extranet.
    Any suggestion or inputs where I could have gone wrong in the setup?
    Thanks!

  • User gets "This network connection does not exist" when she tries to log on to Terminal Server (2008 R2)

    User gets "This network connection does not exist" when she tryes to log on to Terminal Server (2008 R2)
    I got more than 100 users. Shes the only one getting is. We tried four computers (All Windows 7 Pro)
    Nothing useful in event viewer to mention.

    Hi,
    Thank you for posting in Windows Server Forum.
    Does that user able to login previously?
    From your comment, it seems that there is some permission issue with that user. As you have checked that user with different system also. Please check that user is added under “Remote Desktop User” local group and also allowed “Allow log on through
    Remote Desktop service” permission under group policy. Also please check that when user tries to login it uses “Domainname\Username” format.
    In addition for a try, also check by disabling firewall on one particular system.
    To add users and groups to the Remote Desktop Users group by using Local Users and Groups snap-in:
    1.  Click Start > Administrative Tools, Open Computer Management.
    2.  In the console tree, click the Local Users and Groups node.
    3.  In the details pane, double-click the Groups folder.
    4.  Double-click Remote Desktop Users, and then click
    Add.
    5.  In the Select Users dialog box, click Locations to specify the search location.
    6.  Click Object Types to specify the types of objects you want to search for.
    7.  Type the name you want to add in the Enter the object names to select (examples) box. 
    8.  Click Check Names.
    When the name is located, click OK.
    More information:
    Remote Desktop disconnected or can’t connect to remote computer or to Remote Desktop server (Terminal Server) that is running Windows Server 2008 R2
    http://support.microsoft.com/kb/2477176/en-us
    Hope it helps!
    Thanks,
    Dharmesh

  • Locks and/or slow processing

    Hello,
    Thanks in advance!!
    Whenever, our system receives a flood of events, we try to update the database by first locking a certain row using "select for update". However, the system seems to lock up (I think it is very slow in processing) for a long time as evident in the query below. Can anybody provide some insights was what we might be doing incorrectly as far as the database set up, tuning etc.
    One connection has an exclusive rowlock on a table called NODE and an exclusive lock on SYS.ALL_CATALOG. Others are all waiting to get a lock on SYS.ALL_CATALOG (actually it is some SYS.XXX table all the time). All connections are actually making the same "select for update" call.
    When I execute the query as follows I get a result which shows a very long wait time (approx: 515 seconds). isn't this too much?
    SQL> select count(*), SUM(time_waited), max(max_wait) from v$session_event where event = 'enqueue';
    COUNT(*) SUM(TIME_WAITED) MAX(MAX_WAIT)
    1 158919 308
    We are running Oracle 9.2.0.0 on a Windows 2K machine with 2G memory and dual 2.8GHz processor. The application is a Java based using a thin JDBC driver that comes with the 9.2.0.0 CD.
    SQL> set linesize 132 pagesize 66
    SQL> break on Kill on username on terminal
    SQL> column Kill heading 'Kill String' format a13
    SQL> column res heading 'Resource Type' format 999
    SQL> column id1 format 9999990
    SQL> column id2 format 9999990
    SQL> column lmode heading 'Lock Held' format a20
    SQL> column request heading 'Lock Requested' format a20
    SQL> column serial# format 99999
    SQL> column username format a10 heading "Username"
    SQL> column terminal heading Term format a8
    SQL> column tab format a35 heading "Table Name"
    SQL> column owner format a9
    SQL> column Address format a18
    SQL> select nvl(S.USERNAME,'Internal') username,
    2 nvl(S.TERMINAL,'None') terminal,
    3 L.SID||','||S.SERIAL# Kill,
    4 U1.NAME||'.'||substr(T1.NAME,1,20) tab,
    5 decode(L.LMODE,1,'No Lock',
    6 2,'Row Share',
    7 3,'Row Exclusive',
    8 4,'Share',
    9 5,'Share Row Exclusive',
    10 6,'Exclusive',null) lmode,
    11 decode(L.REQUEST,1,'No Lock',
    12 2,'Row Share',
    13 3,'Row Exclusive',
    14 4,'Share',
    15 5,'Share Row Exclusive',
    16 6,'Exclusive',null) request
    17 from V$LOCK L,
    18 V$SESSION S,
    19 SYS.USER$ U1,
    20 SYS.OBJ$ T1
    21 where L.SID = S.SID
    22 and T1.OBJ# = decode(L.ID2,0,L.ID1,L.ID2)
    23 and U1.USER# = T1.OWNER#
    24 and S.TYPE != 'BACKGROUND'
    25 order by 1,2,5
    26 /
    Username Term Kill String Table Name Lock Held Lock Requested
    EMS3 unknown 11,507 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 18,116 EMS3.NODE Row Exclusive
    EMS3 unknown 11,507 EMS3.NODE Row Share
    EMS3 unknown 13,6 EMS3.NODE Row Share
    EMS3 unknown 22,56 EMS3.NODE Row Share
    EMS3 unknown 23,6 EMS3.NODE Row Share
    EMS3 unknown 24,6 EMS3.NODE Row Share
    EMS3 unknown 25,7 EMS3.NODE Row Share
    EMS3 unknown 26,10 EMS3.NODE Row Share
    EMS3 unknown 40,8 EMS3.NODE Row Share
    EMS3 unknown 39,7 EMS3.NODE Row Share
    EMS3 unknown 38,6 EMS3.NODE Row Share
    EMS3 unknown 37,6 EMS3.NODE Row Share
    EMS3 unknown 36,6 EMS3.NODE Row Share
    EMS3 unknown 35,10 EMS3.NODE Row Share
    EMS3 unknown 34,7 EMS3.NODE Row Share
    EMS3 unknown 33,6 EMS3.NODE Row Share
    EMS3 unknown 32,7 EMS3.NODE Row Share
    EMS3 unknown 57,6 EMS3.NODE Row Share
    EMS3 unknown 56,6 EMS3.NODE Row Share
    EMS3 unknown 55,10 EMS3.NODE Row Share
    EMS3 unknown 54,7 EMS3.NODE Row Share
    EMS3 unknown 53,6 EMS3.NODE Row Share
    EMS3 unknown 52,9 EMS3.NODE Row Share
    EMS3 unknown 51,6 EMS3.NODE Row Share
    EMS3 unknown 50,8 EMS3.NODE Row Share
    EMS3 unknown 49,7 EMS3.NODE Row Share
    EMS3 unknown 67,6 EMS3.NODE Row Share
    EMS3 unknown 66,10 EMS3.NODE Row Share
    EMS3 unknown 65,7 EMS3.NODE Row Share
    EMS3 unknown 64,6 EMS3.NODE Row Share
    EMS3 unknown 63,8 EMS3.NODE Row Share
    EMS3 unknown 62,6 EMS3.NODE Row Share
    EMS3 unknown 61,7 EMS3.NODE Row Share
    EMS3 unknown 60,8 EMS3.NODE Row Share
    EMS3 unknown 59,7 EMS3.NODE Row Share
    EMS3 unknown 58,6 EMS3.NODE Row Share
    EMS3 unknown 48,7 EMS3.NODE Row Share
    EMS3 unknown 47,7 EMS3.NODE Row Share
    EMS3 unknown 46,6 EMS3.NODE Row Share
    EMS3 unknown 45,6 EMS3.NODE Row Share
    EMS3 unknown 44,9 EMS3.NODE Row Share
    EMS3 unknown 43,7 EMS3.NODE Row Share
    EMS3 unknown 42,7 EMS3.NODE Row Share
    EMS3 unknown 41,6 EMS3.NODE Row Share
    EMS3 unknown 30,7 EMS3.NODE Row Share
    EMS3 unknown 29,6 EMS3.NODE Row Share
    EMS3 unknown 28,6 EMS3.NODE Row Share
    EMS3 unknown 27,6 EMS3.NODE Row Share
    EMS3 unknown 13,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 18,116 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 23,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 25,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 67,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 66,10 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 65,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 64,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 63,8 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 62,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 61,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 60,8 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 59,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 58,6 SYS.ALL_CATALOG Exclusive
    Username Term Kill String Table Name Lock Held Lock Requested
    EMS3 unknown 57,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 56,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 55,10 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 54,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 53,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 52,9 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 51,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 50,8 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 49,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 48,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 47,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 46,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 45,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 44,9 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 43,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 42,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 41,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 40,8 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 39,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 38,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 37,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 36,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 35,10 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 34,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 33,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 32,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 30,7 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 29,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 28,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 27,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 26,10 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 24,6 SYS.ALL_CATALOG Exclusive
    EMS3 unknown 22,56 SYS.ALL_CATALOG Exclusive
    96 rows selected.
    SQL>

    Ranganath,
    Please work with Oracle Support to resolve this issue. That way, we can get a more extensive insight and documentation for the issue and fix what underlying problems may exist. Thanks!
    Regards,
    Toliver Jue

  • Number of concurrent users

    how can I find the number of concurrent users in oracle 10g;
    thank you

    You mean ACTIVE users ??
    Use following script :
    active.sql
    set pagesize 120
    set linesize 150
    select username, count(*) from v$session where status = 'ACTIVE'
    group by username;
    column spid format a5
    column sid format 9999
    column serial# format 999999
    column username format A9
    column schemaname format A8
    column osuser format a20
    column machine format a15
    column logondate format a15
    column terminal format a10
    column status format a10
    column module format a25
    select a.sid, a.serial#, b.spid,
    --a.process,
    a.username,
    to_char(a.logon_time,'DD-MM HH24:MI:SS') LogonDate, a.osuser, a.machine, a.status, a.module
    from v$session a, v$process b where a.paddr = b.addr
    and a.status = 'ACTIVE' and a.username is not null
    order by 9;
    --order by b.spid;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Authentication error while exporting the SSRS reports to excel from a timer job.

    Below code written in the timer job Execute() method to render the reports and get the byte array but it works fine when the application run in windows authentication, but throw error when the application extended to Form based authentication in SharePoint
    2013. 
    The sample code is:
    Microsoft.Reporting.WebForms.ReportViewer rview = new Microsoft.Reporting.WebForms.ReportViewer();
    rview.ServerReport.ReportServerUrl = new Uri(reportLib.ParentWeb.Site.RootWeb.Url + "/_vti_bin/ReportServer");
                                            System.Collections.Generic.List<Microsoft.Reporting.WebForms.ReportParameter> paramList = new System.Collections.Generic.List<Microsoft.Reporting.WebForms.ReportParameter>();
                                            rview.ServerReport.ReportPath = reportLib.ParentWeb.Url + RAConstants.LibraryReportLibraryUrl + repotName;
                                            string mimeType, encoding, extension, deviceInfo;
                                            string[] streamids;
                                            Microsoft.Reporting.WebForms.Warning[] warnings;
                                            string format = "Excel";
    deviceInfo =
                                            "<DeviceInfo>" +
                                            "<SimplePageHeaders>True</SimplePageHeaders>" +
                                            "</DeviceInfo>";
    bytes = rview.ServerReport.Render(format, deviceInfo, out mimeType, out encoding, out extension, out streamids, out warnings);
    In above Render() i got below error exception. 
    ex.ToString() "Microsoft.Reporting.WebForms.ReportServerException: Report Server has encountered a SharePoint error. (rsSharePointError) ---> Microsoft.Reporting.WebForms.ReportServerException: The user does not exist or is not unique. ---> Microsoft.Reporting.WebForms.ReportServerException:
    The user does not exist or is not unique.\r\n   --- End of inner exception stack trace ---\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerReportSoapProxy.OnSoapException(SoapException
    e)\r\n   at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)\r\n   at
    Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)\r\n   at Microsoft.Reporting.WebForms.SoapReportExecutionService.LoadReport(String report, String historyId)\r\n
      at Microsoft.Reporting.WebForms.ServerReport.EnsureExecutionSession()\r\n   at Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, PageCountMode pageCountMode, String& mimeType, String& encoding, String&
    fileNameExtension, String[]& streams, Warning[]& warnings)\r\n   at Microsoft.Reporting.WebForms.Report.Render(String format, String deviceInfo, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams,
    Warning[]& warnings)\r\n   at ResourceAllocationUI.SPJobs.SendWeeklyReportInEmail.Execute(Guid contentDbId)" string
    Please help. Thanks in advance.
    Thanks,
    Rashmi Ranjan

    Likely because your user is continuing to call the service in a Windows (classic) DOMAIN\username format, and not in the Claims identity it should be.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to find out amount of undo generated in 10g and 9i? for a given session

    Hi All,
    I am on v10.2 on Linux. How can I find out amount of undo generated in my session ?
    I tried this
    SQL&gt; select a.STATISTIC#, a.VALUE, b.NAME from v$mystat a , v$statname b
    2 where a.statistic# = b.statistic# and (b.name like '%undo%' or b.name like '%rollback%') ;
    STATISTIC# VALUE NAME
    5 0 user rollbacks
    75 0 DBWR undo block writes
    176 132 undo change vector size
    177 0 transaction tables consistent reads - undo records applied
    178 0 transaction tables consistent read rollbacks
    179 0 data blocks consistent reads - undo records applied
    182 0 rollbacks only - consistent read gets
    183 0 cleanouts and rollbacks - consistent read gets
    188 0 rollback changes - undo records applied
    189 0 transaction rollbacks
    200 0 auto extends on undo tablespace
    202 0 total number of undo segments dropped
    220 0 global undo segment hints helped
    221 0 global undo segment hints were stale
    222 0 local undo segment hints helped
    223 0 local undo segment hints were stale
    224 0 undo segment header was pinned
    226 0 SMON posted for undo segment recovery
    229 0 SMON posted for undo segment shrink
    236 0 IMU undo retention flush
    241 0 IMU CR rollbacks
    242 488 IMU undo allocation size
    22 rows selected.
    SQL&gt;
    SQL&gt; create table temp1 as select * from dba_objects where 1=2 ;
    Table created.
    SQL&gt; select a.STATISTIC#, a.VALUE, b.NAME from v$mystat a , v$statname b
    2 where a.statistic# = b.statistic# and (b.name like '%undo%' or b.name like '%rollback%') ;
    STATISTIC# VALUE NAME
    5 0 user rollbacks
    75 0 DBWR undo block writes
    176 30280 undo change vector size
    177 0 transaction tables consistent reads - undo records applied
    178 0 transaction tables consistent read rollbacks
    179 8 data blocks consistent reads - undo records applied
    182 8 rollbacks only - consistent read gets
    183 0 cleanouts and rollbacks - consistent read gets
    188 0 rollback changes - undo records applied
    189 0 transaction rollbacks
    200 0 auto extends on undo tablespace
    202 0 total number of undo segments dropped
    220 0 global undo segment hints helped
    221 0 global undo segment hints were stale
    222 0 local undo segment hints helped
    223 0 local undo segment hints were stale
    224 0 undo segment header was pinned
    226 0 SMON posted for undo segment recovery
    229 0 SMON posted for undo segment shrink
    236 0 IMU undo retention flush
    241 0 IMU CR rollbacks
    242 560 IMU undo allocation size
    22 rows selected.
    SQL&gt; insert /*+ APPEND */ into temp1 select * from dba_objects ;
    91057 rows created.
    SQL&gt; commit ;
    Commit complete.
    SQL&gt; select a.STATISTIC#, a.VALUE, b.NAME from v$mystat a , v$statname b
    2 where a.statistic# = b.statistic# and (b.name like '%undo%' or b.name like '%rollback%') ;
    STATISTIC# VALUE NAME
    5 0 user rollbacks
    75 0 DBWR undo block writes
    176 171356 undo change vector size
    177 0 transaction tables consistent reads - undo records applied
    178 0 transaction tables consistent read rollbacks
    179 166 data blocks consistent reads - undo records applied
    182 91 rollbacks only - consistent read gets
    183 0 cleanouts and rollbacks - consistent read gets
    188 0 rollback changes - undo records applied
    189 10 transaction rollbacks
    200 0 auto extends on undo tablespace
    202 0 total number of undo segments dropped
    220 0 global undo segment hints helped
    221 0 global undo segment hints were stale
    222 0 local undo segment hints helped
    223 0 local undo segment hints were stale
    224 0 undo segment header was pinned
    226 0 SMON posted for undo segment recovery
    229 0 SMON posted for undo segment shrink
    236 0 IMU undo retention flush
    241 0 IMU CR rollbacks
    242 1352 IMU undo allocation size
    22 rows selected.
    What exactly is "undo change vector size" ?
    Also, if I am on v 9.2, this ( undo change vector size ) stat name is not there. What can be used in v9.2 ?
    Thanks in advance.

    Hi..
    >
    SET LINESIZE 200
    COLUMN username FORMAT A15
    SELECT s.username,
    s.sid,
    s.serial#,
    t.used_ublk,
    t.used_urec,
    rs.segment_name,
    r.rssize,
    r.status
    FROM v$transaction t,
    v$session s,
    v$rollstat r,
    dba_rollback_segs rs
    WHERE s.saddr = t.ses_addr
    AND t.xidusn = r.usn
    AND rs.segment_id = t.xidusn
    ORDER BY t.used_ublk DESC;
    >
    HTH
    Anand

  • Database link creation problem

    localhost environment:
    OS:windows 2000 server
    Database:oracle 8.5
    database name:orcl
    remotehost environment:
    OS:windows 2000 server
    Database:oracle 8.5
    database name:orac
    These two servers in network and in the same workgroup like peer to peer.There is no concept of domain here.
    Here in this environment i am getting the response from both of the servers at the time of using tnsping.
    C:\>tnsping orac
    TNS Ping Utility for 32-bit Windows: Version 8.1.5.0.0 - Production on 15-APR-06 21:30:54
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=azad)(PORT=1521))
    OK (70 msec)
    C:\>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 8.1.5.0.0 - Production on 15-APR-06 21:31:02
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=pvs)(PORT=1521))
    OK (70 msec)
    But at the time of creating database links in between these databases at local host i am getting this error message when i am using connect_user method:
    SQL> create database link REMOTE_CONNECT connect to current_user using 'ORAC';
    Database link created.
    SQL> select * from emp@REMOTE_CONNECT;
    select * from emp@REMOTE_CONNECT
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kspgsp2], [64978272], [265], [ent_domain_name], [0],
    [1], [], []
    But at the time of creating database links in between these databases at local host i am getting this error message when i am using identified method:
    SQL> create database link REMOTE_CONNECT2 connect to scott identified by tiger using 'ORAC';
    Database link created.
    SQL> select * from emp@REMOTE_CONNECT2;
    select * from emp@REMOTE_CONNECT2
    ERROR at line 1:
    ORA-02085: database link REMOTE_CONNECT2 connects to ORACLE
    help me to create the database link in between these two databases..........

    Hi, I have read carefully your letter.
    Firt of all, when you use 'current_user' statement you must guarantee that such users have in both databases.If users exist in both databases and the error will appear again than try create database link with the option 'PUBLIC' as follow:
    CREATE PUBLIC DATABASE LINK REMOTE_CONNECT connect to scott identified by tiger using 'ORAC';
    and check the creation:
    SQL> COL OWNER FORMAT a10
    SQL> COL USERNAME FORMAT A8 HEADING "USER"
    SQL> COL DB_LINK FORMAT A30
    SQL> COL HOST FORMAT A7 HEADING "SERVICE"
    SQL> SELECT * FROM DBA_DB_LINKS;
    OWNER DB_LINK USER SERVICE CREATED
    PUBLIC REMOTE_CONNECT.US.ORACLE.COM SCOTT ORAC 17.04.06
    if the error appear again than checks parameter 'open_links' for your database instance. Default is 4. Increase that number. Good luck.Let me know if something go wrong.

Maybe you are looking for