Strange behaviour - Wrong old password
Hi all,
I use SAP EP 7.0 SPS10
when using Basic Authentication and the default SAP Logon Screen I observed the following behaviour.
When a user is requested to change his/her password, the "change password"
screen is shown. Now the user can enter the "old" password, a new password (and confirm this password).
When the user enter the wrong old password, no reasonable error message is shown.
Instead of a error message the "welcome screen" is shown again...
-> Our users are confused by this behaviour, because he/she thought the password change was successful. Than he/she tries to logon with the changed new password (but as in fact the password changing was not sucessful after three
times of logon trials, the password logon is locked. This generates a lot of support cases, which could be easily prevented in case of an error message ("wrong old password")
Is this a matter of configuration?
Any help is really appreciated.
Regards Karin
Hi all,
I tested a little bit around and found the behaviour when entering a wrong password
in any case is a bit strange.
When entering it on the default welcome page, no error message is displayed and
just the empty welcome screen is shown again.
Regrads Karin
Similar Messages
-
Strange behaviour from new 2012R2 in old domain
Hi all,
At work (education level), I'm starting to take charge of windows admin, so beiing a noob admin I'm finding strange behaviours that I hope you can help me solve them all :-)
We've one (big) domain with about 5000 computers (workers and students all together), and around 50000 users (again, workers and students all together) setup like this:
DC-DOMAIN-1:
Windows Server 2008R2
Shares NETLOGON and SYSVOL
DC-DOMAIN-2:
Windows Server 2003 R2 x64
Shares CertEnroll, NETLOGON, SMSLOGON, SYSVOL
Checking RootDSE, I see 'domainControllerFunctionaly is Windows 2003' (DC-DOMAIN-2)
So, with this setup, I've noticed these strange behaviours, hope list isn't too big (guess there will be more behaviours but these seemed too odd):
1) On DC-DOMAIN-2, WinServer 2003 eventlog, inside 'Directory Service', I found this warning event ID 1083 (Source NTDS Replication):
Active Directory could not update the following object with changes received from the domain controller at the following network address because Active Directory was busy processing information.
Object:CN=<an user name>, CN=Users, DC=DOMAIN
Usually followed by an information event (eventid 1955) which says:
ctive Directory encountered a write conflict when applying replicated changes to the following object.
Object:
<SAME USER OBJECT THAN PREVIOUS EVENT ID>
Time in seconds:
0
Event log entries preceding this entry will indicate whether or not the update was accepted.
A write conflict can be caused by simultaneous changes to the same object or simultaneous changes to other objects that have attributes referencing this object. This commonly occurs when the object represents a large group with many members, and the functional level of the forest is set to Windows 2000. This conflict triggered additional retries of the update. If the system appears slow, it could be because replication of these changes is occurring.
User Action
Use smaller groups for this operation or raise the functional level to Windows Server 2003.
And having as result that user being blocked in domain.
2) I've added a new print server based on Windows Server 2012R2 (running inside an updated ESX 5.5 with VMXNET3 ethernet adapter as recommended by vmware), and seen in the event viewer these warnings/errors:
At System log:
Error Event ID 5783, Source NETLOGON:
The session setup to the Windows NT or Windows 2000 Domain Controller \\DC-DOMAIN-2.fulldns.name for the domain DOMAIN is not responsive. The current RPC call from Netlogon on \\PRINTSERVER to \\DC-DOMAIN-2.fulldns.name has been cancelled.
I've seen Event ID 5783 with DC-DOMAIN-1 too....
Error Event ID 5719, Source NETLOGON:
This computer was not able to set up a secure session with a domain controller in domain DOMAIN due to the following:
The remote procedure call failed and did not execute.
This may lead to authentication problems. Make sure that
this computer is connected to the network. If the problem persists, please contact your domain administrator.
ADDITIONAL INFO:
If this computer is a domain controller for the specified domain, it sets up the secure session to the primary domain controller emulator in the specified domain. Otherwise, this computer sets up the secure session to any domain controller in the specified domain.
At Microsoft-Windows-TerminalServices-RemoteConnectinoManager/Admin found also this warning:
Warning Event ID 20499 Source TerminalServices-RemoteConnectionManager:
Remote Desktop Services has taken too long to load the user configuration from server \\DC-DOMAIN-2.fulldns.name for user administrator
3) If I try Group Policy Modeling on DC-DOMAIN-1 (server 2008R2), everything works fine, no matter if I try it against DC-DOMAIN-1 or DC-DOMAIN-2, but if I try this from the Server 2012R2 (the one from point 2), I get this:
Simulation against DC-DOMAIN-2: Gets executed, but all GPO show as inaccessible, empty or disabled.
Simulation against DC-DOMAIN-1: Sometimes it gets executed as DC-DOMAIN-2, sometimes I get an error saying query can't be executed.
4) From server 2012R2, I usually manage printing GPO. If I click on the domain root (GPMC, forest, Domains, DOMAIN-NAME-ROOT) right pane, I get a pop up saying:
'A processing error ocurred collecting data using this base domain controller. Please change the base domain controller and try again'
After closing popup, right pane says something like 'DC-DOMAIN-2.fulldns.name' is the baseline domain controller for this domain.
No infrastructure Status information exists for this domain.
Click the Detect Now button below to gather infrastructure status from all of the domain controllers in this domain.
Pressing 'Detect Now' does nothing, and trying to select New Baseline DC shows again same pop up than before.
5) Last, but not least, I've feeling that GPO takes too much to apply. I've found scenarios in which even after executing 'gpupdate /force' correctly on client computer either local or domain admin, I can't see the new changes (gpresult says it has been
updated though). But couldn't find anything on eventlog that informs about problems with GPOs...
For all these strange behaviours I've noticed in last month that I started checking things as sys admin, I believe domain is damaged, or something is wrong there (not just my new server 2012R2, even if it's running inside an ESX, blehh), so please, any hint
on what to check, what to change, what to fix, would be highly appreciated.
Thanks in advance.Hi Paul,
Honestly, I'm still trying to figure out all broken things reported by tests :( Guess Jesper's suggestion about adding a new 2008 DC to get rid of 2003 and start checking again after that may be best option.
I'll try to summarize list of things I believe are wrong:
running
DCDIAG /V /C /D /E /s:yourdcname > c:\dcdiag.log for every DC, shows different errors. They show things such as:
another domain running here (not administered by us, only relationship is that our users are shared with that domain, nothing else) appear when Printing out pDsInfo (as if they were DC of our domain too, but they do not even share RootDomain). Guess it
may be for a bug old sys admin had when clonning from his 2008R2 template, that forgot to change SID... I already noticed 1 year ago our print server shared SID with those DC, guess there may be more servers sharing SID too :-(
Within Starting test: Replications, I see few messages at Replication Latency Check, such as the one for CN=Schema, CN=Configuration, DC=<ourdomain>:
Latency information for 35 entries in the vector were ignored.
35 were retired Invocations. 0 were either: read-only replicas and are not verifiably latent, or dc's no longer replicating this nc. 0 had no latency information (Win2K DC)
On Services test, I see an
Invalid service type: RpcSs on DC-DOMAIN-3, current value
WIN32_OWN_PROCESS, expected value WIN32_SHARE_PROCESS
On SystemLog, I see LOTS of warnings/errors such as:
A warning event occurred. EventID: 0x80000002
Time Generated: 07/28/2014 08:21:54
(Event String (event log = System) could not be retrieved, error
0x503)
An error event occurred. EventID: 0xC0000003
Time Generated: 07/28/2014 08:22:18
(Event String (event log = System) could not be retrieved, error
0x3afc)
Missing entries on DNS (we've a static DNS)
netdiag.exe /v > c:\netdiag.log Showed again DNS problems such as our primary DNS pointing to all DC, secondary
DNS pointing just to DC with FSMO roles,...
repadmin.exe /showrepl * /verbose /all /intersite > c:\repl.txt Gave no errors, now I must check in detail
if every replica is correct
And finally,
dnslint /ad /s "ip address of your dc" gave more DNS problems:
One or more DNS servers may not be authoritative for the domain
One or more DNS servers did not respond to UDP queries
One or more zone files may have expired
SOA record data was unavailable and/or missing on one or more DNS servers
Sumarizing, guess it will be better to fix DNS problems, promote new 2008R2 DC to get rid of 2003 one, promote domain to 2008 too, check again for messages and relationship with other domain, and then come back here for support if needed
EDIT: Almost forgot to talk about SYSVOL folder. As said before, there are 426 GPO folders inside Policies. Of them, 375 have an inetres.adm files in it (smallest one 1398 KB, almost all of them 2307 or 2707 kb).... -
I forgot my old password and now i cant get a new one because it says the old one is wrong
So I used to have a password on my computer for when my mac first turned on and all that but, I gat tired of having to put my password in every single time i turned my mac, on so i took it down. Now, every time I want to download something it asks for my password (even though i know i took it down) I still put in my old password, but then it tells me its incorrect, so i went to "users and groups" in system prefrences to change it and get a new password but it asks for old password and once again it says its wrong so I have no idea what to do now.. ps: I never gat a new password I only took the old one down..
OS X 10.7 Lion /10.8 Mountain Lion
Follow the instructions in the first and third boxes.
http://pondini.org/OSX/Password.html -
I have recently switched to icloud. Lately I have not been able to receive emails. A msg comes up asking me to reenter my password. Perhaps I am entering the wrong password and have forgotten what it is. How can I find my old password or change it and get my .mac account email working again?
If it was setup using your iPhone and your Apple ID then as far as the iCloud team will be able to find out, you set it up. Passwords cannot be retrieved.
Change all passwords on accounts associated with your iPhone. -
Roaming Profiles / Wrong permissions? Strange Behaviour...
Hi, got some problems with roaming windows profiles.
Server: XServe G5 | Mac OS X 10.5 | working as PDC
Client: Windows XP Professional SP2
1. I'm able to connect with Windows-Client to PDC, newly created folders (e.g. on Desktop)
are stored in the profile, also files / programs within this folders - when user logs off
files and folders are stored properly.
2. When I try to get the same profile at a second Windows-Client the profile could not be
loaded because of that created file within that folder (1.).
I get an Windows-Error-Message: "Error performing Inpage Operation"
That only happens because of the saved /created files in the new created folders. When I create a folder, without saving a file inside, it works without problems. Profile settings are loaded properly.
Here is the content of my samba config (with testparm) , hope that helps - I didn't make any modifications to that file manually. Would be really nice to get help with that strange behaviour.
[global]
dos charset = 437
unix charset = UTF-8-MAC
display charset = UTF-8-MAC
workgroup = SKDL
server string = skdl-pdc
auth methods = guest, odsam
map to guest = Bad User
obey pam restrictions = Yes
passdb backend = odsam
log level = 2
debug pid = Yes
max xmit = 131072
printcap name = cups
add user script = /usr/bin/opendirectorypdbconfig -c createuseraccount -r %u -n /LDAPv3/127.0.0.1
add machine script = /usr/bin/opendirectorypdbconfig -c createcomputeraccount -r %u -n /LDAPv3/127.0.0.1
logon path = \\%N\profiles\%u
logon drive = H:
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
usershare allow guests = Yes
usershare allow full config = Yes
usershare max shares = 1000
usershare owner only = No
usershare path = /var/samba/shares
idmap domains = default
idmap alloc backend = odsam
idmap negative cache time = 5
com.apple:filter shares by access = yes
darwin_streams:brlm = yes
idmap config default:backend = odsam
idmap config default:default = yes
ea support = Yes
stream support = Yes
use sendfile = Yes
printing = cups
print command =
lpq command = %p
lprm command =
include = /var/run/smb.conf
vfs objects = darwinacl, darwin_streams
[netlogon]
path = /etc/netlogon
write list = @admin
browseable = No
strict locking = No
[profiles]
path = /Users/Profiles
read only = No
browseable = No
strict locking = No
[homes]
comment = User Home Directories
read only = No
create mask = 0750
browseable = No
root preexec = /usr/sbin/inituser %U
com.apple:show admin all volumes = no
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No
----------------try using cacls to check the access control on the files and directories
-
Idsyncwin does not invalidate old passwords
I am using Identity Synchronization for Windows (part of DSEE 11g) to replicate MSAD accounts into an organization maintained in DSEE, one-way. This works acceptably, except for one nit, which may be a problem to complete the POC demonstration: a change of user password in MSAD does not propagate into DSEE reliably.
To be more specific, when the password is changed in Active Directory, ISW does detect the change and sets dspswvalidate:true as is expected. If the DSEE user logs in with the new MSAD password, this password is validated against MSAD, succeeds, and is saved into DSEE. Likewise, login with a random password fails as expected.
However, if the user logs in with his old DSEE password, the validation against MSAD is logged as successful (which is apparently wrong), but the old DSEE password remains in place. The dspswvalidate flag is cleared and the user no longer has a chance to log in with a Windows password - the old DSEE password remains in place.
I see that when provisioning new users, ISW can place an invalid string into userpassword attribute... can it do the same when it detects changes in the upstream MSAD data, so the user has no possibility to log in with an obsolete password?
Since the ISW is a bit of esoteric and old product with little change from DS5.x times (though works fine with current DSEE and MSAD), possibly a solution would be to make some plugin for DSEE that would detect changes to the dspswvalidate flag and invalidate a password?.. Any ideas how to do this, if all else fails?
Thanks in advance,
//Jim KlimovSo... status update: the problem has been traced to MSAD - the domain controllers trust both the user's new password and the previous password for 5 minutes, which leads to DSEE testing the old passwords if the clients request it to (i.e. regular mail checks), trusting them and saving them for posterity (and removing the flag to verify passwords via MSAD).
The Windows team was not able to remove this behaviour from domain controllers. It is also probably infeasible to change their password-changing procedure to change it twice (so as to forget the previous password completely), or to instantly (programmatically?) log in to DSEE via convergence or ldapsearch or whatever with the new password, or to manually change the email password as well - especially when end-users can change their domain passwords too.
So the problem remains: old passwords are verifiable via MSAD and thus trusted by DSEE, so for example regular messaging tasks running on behalf of users might practically prevent propagation of updated passwords from MSAD domain into DSEE/CommSuite.
One solution that I see is to have DSEE (maybe via its ISW plugin) not remove the dspswvalidate flag for a configurable timeout after it first detected the password-change event on another directory source. This way for some 10 minutes (for example) after the MSAD-initiated password invalidation, DSEE would re-validate against the domain, ultimately making sure that the saved-to-trust password is the new one.
Another idea is to test the user-provided cleartext password against (a copy of) the old DSEE userPassword hashed value, and not save the password if it is positive against both the MSAD domain and old DSEE password.
Both of those ideas rely on changes to the ISW plugin which we can not do to the closed-source program.
A bolt-on solution might be to make a script that runs every minute from crontab, detects new DSEE invalidations and saves a timestamp. Then for those example 10 minutes it would restore the requirement to validate against MSAD, if it detects the invalidation flag cleared during this time. I can foresee how this would NOT work and increase helpdesk calls, with lags upon logins after the password change, on-and-off trust of DSEE to one or another password, and mostly with automated email tasks firing within that minute between script runs so that the password change event, setting of the flag, validation of old password and clearing of the flag all happen before the bolt-on script would detect that anything happened.
MAYBE though, it can parse cn=changelog for a verifiable history of events to detect appearances of the validation flag - even if it has been cleared by the time the script runs...
Still, the bolt-on sounds like an unreliable solution, though doable.
Are there any other ideas or practical advices, remaining withing the constraints of MSAD + DSEE + IdSyncWin? (Implementation of IAMS in particular, to unify this and other identity management is considered, but as a separate project and purchase - so some solution is needed for what they have today)
Thanks,
//Jim Klimov -
FIM Load Balancing and SPN's - Strange behaviour
I have a FIM setup in a domain
I have mycorp.com and a domain in the same forest contractor.mycorp.com (fictional setup)
I have 2 servers built in the contractors.mycorp.com domain
Id1
Id2
Id1 has the Service and portal on wss3 in SharePoint farm mode, Sp central admin is on this as well
Id2 has the service and is a load balanced SharePoint farm.
I have NLB setup and working the service name is identity.mycorp.com pointing at the IP of the NLB
I have a CNAME identity pointing at identity.mycorp.com
Identity.mycorp.com is used as the name of the Service and the Portal.
In the ApplicationHost.config I have
<system.webServer>
<security>
<authentication>
<windowsAuthentication enabled="true" useKernelMode="true"
useAppPoolCredentials="true" />
</authentication>
</security>
</system.webServer>
I have kernel mode enabled, and I have Windows authentication enabled in the IIS console on id1 and id2.
The app pool credentials are a domain account SPService for SharePoint Service, the app pool is set on both id1 and id2 servers. The root domain account mycorp\SPService us used.
In
c:\inetpub\wwwroot\wss\VirtualDirectories
I have set
<resourceManagementClient
requireKerberos="true"
I have registered the alternate URL mappings for SharePoint as
Identity
Identity.myCorp.com
I have registered SPN's for
Setspn –S FIMService/identity.myCorp.com myCorp\FIMService
Setspn –S FIMService/identity myCorp\FIMService
Setspn –S HTTP/identity.myCorp.com myCorp\SPService
Setspn –S HTTP/identity myCorp\SPService
I have configured delegation for both accounts in ADUC for the identity.mycorp.com
So all is well and I installed everything fine.
Now my problem is that if I go to id1 and browse to http://identity/identitymanagement I get redirected , and authenticated with my admin account to
http://id1/IdentityManagement/default.aspx
On id1 if I go to http://identity.myCorp.com/identitymanagement I get prompted for credentials, when I enter myCorp\FIMAdmin and my password I get redirected to the portal at
http://id1/IdentityManagement/default.aspx
If I try and authenticate to any of the previous URL's from other machines in my domain, including the load balanced box id2 I get "HTTP Error 401. The requested resource requires user authentication."
Even if I try and browse to
http://id1/identitymanagement from another machine I am getting 401. Only on
http://id1 am I getting a result, even if there is a prompt.
I am sure my SPN's are fine, there are no duplicate SPN's , I checked with the -x switch
So my load balanced portal and service are not working as I would have thought , I have looked at
http://blogs.msdn.com/b/webtopics/archive/2009/01/19/service-principal-name-spn-checklist-for-kerberos-authentication-with-iis-7-0.aspx
http://social.technet.microsoft.com/Forums/en-US/484faae8-4df6-4b81-8b2d-9d75d5258e4f/fim-portal-http-error-401-the-requested-resource-requires-user-authentication?forum=ilm2
http://social.technet.microsoft.com/wiki/contents/articles/4473.fim-http-error-401-the-requested-resource-requires-user-authentication.aspx
http://setspn.blogspot.ie/2010/06/kerberos-basic-troubleshooting-tip-3.html
The only thing that I can think of is that the machine is in the contractors.myCorp.com domain which makes the machine
unique from where the SPN's are registered, but if that was the case then browsing to the portal from
http://id1 would certainly fail.
Can anyone see anything wrong with my approach ?
Normally I find SharePoint a pain, but this week it seems to be this.
When I ran the fim service install I specified identity.myCorp.com as the name of the server
RobIn my Load Balanced setup it helped a lot (on some strange behaviours) when I set up Load Balancer to keep session on one server.
Borys Majewski, Identity Management Solutions Architect (Blog: IDArchitect.NET) -
Strange Behaviour after re-installing the OS
Hi people.
Basically, i've been experiencing some strange behaviour with Safari since re-installing my OS. I'm running Safari 3.0.4, and i'm on a G4 iBook running 10.4.11.
Firstly, it's not remembering passwords and user names to a few sites. My homepage is set to a Auto Forum i use daily. Now, when putting your password in you can check a little box that says 'Automatically log me in each time i visit'. I tick the box, when Safari ask's if i want the password to remembered i say yes. log-in as normal. If i then go away from the page and come back to it without quitting Safari, it's asking me to log in again. It remembers my password details etc, but doesn't perform the auto login like it used to. I've reset Safari, cleared Cookies, Cache etc, but to no avail. It's becoming quite annoying!
Secondly-the scroll bar on the right side of the screen keeps disappearing-and when it does, i can't manually scroll down the pages with the arrow keys either. Any thoughts? If manually moving from site to site, it's ok-it's when i access my bookmarks page and the scrollbar disappears, that it seems to remove it for good. I then have to quit Safari and re-launch it. But then i'm back to square one! If i need the favourites, i'm stuffed!
Any help appreciated...
DanHi!
Thanks for the reply! I've started to download the update, got Pacifist already so it's just a case of the download finishing. I'm a bit worried though, i ran disk utility earlier and it came up with 2 errors, one of which couldn't be repaired. I hope it's not the HD on it's way out and causing problems as the new HD isn't even a year old yet...
I get a bold red message when using Disk Utility, which reads:
"Invalid Leaf record count
(Should be 2 instead of 46)
1 Volume could not be repaired"
I guess i'll give the Safari thing a go, then go for Disk Utility as per the other thread. Don't really want to wipe the HD and do another install-only done one 2 weeks ago! -
How do i delete an old apple ID from iCloud account when I don't know the old password
I changed my apple Id and now when I go to use iTunes or some email... it says ID and or password are wrong. I do not have the old password so how do I log in or get it to see my new ID account??
With iOS 7 there’s no workaround.
They should have done this.
What to do before selling or giving away your iPhone, iPad, or iPod touch
http://support.apple.com/kb/HT5661
If the iPad was running iOS 7, iCloud: Find My iPhone Activation Lock in iOS 7
http://support.apple.com/kb/HT5818
iCloud: Activation Lock
http://support.apple.com/kb/PH13695
Find My iPhone Activation Lock: Removing a device from a previous owner’s account
http://support.apple.com/kb/ts4515
Buying or Selling a Used iPhone or iPad Running iOS 7? Read This First!
http://www.makeuseof.com/tag/buying-or-selling-a-used-iphone-running-ios-7-read- this-first/
You may have purchased a stolen iPad.
Cheers, Tom -
I changed my password for iCloud on my Mac, but my iPhone and iPad keep reverting back to the old password which no longer works. I cannot iMessage or purchase anything from iTunes.
Hello, on the Date...
Might be time to replace the PRAM Battery, 4 years is close to their lifespan, far less if ever without AC power, & can cause strange startup problems...
See which one your G5 has...
http://eshop.macsales.com/item/Newer%20Technology/CR2032/
http://eshop.macsales.com/item/Newer%20Technology/BAA36VPRAM/
Have you blown the dust out lately, especially the Graphic Card & PSU?
Get Temperature Monitor to see if it's heat related...
http://www.macupdate.com/info.php/id/12381/temperature-monitor
iStat Menus...
http://bjango.com/mac/istatmenus/
And/or iStat Pro...
http://www.islayer.com/apps/istatpro/
If you have any temps in the 70°C/160°F range, that's likely it. -
Ipad show a keyboard for password, old password no longer works
I use my old iPad 1 (MC49LL) only as a great GPS in my motorhome. I use a new iPad Air for everything else. But somehow, the old unit no longer shows the regular touchpad for my password; it shows a keyboard. And my old password no longer works--the same I have used for years on all my Apple devices. I tried resetting the unit with iTunes, but the it is still calling for a password with a keyboard, and is requiring a longer and longer time between tries. Has anyone experienced this? Any idea how to get past this?
Due to security vulnerabilities, rolling back to Firefox 4.0.1 is not recommended. Firefox 3.6.18 would be the safer choice.
Here's the process to roll back:
First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
Next, download and save Firefox 3.6 to your desktop for future installation. http://www.mozilla.com/firefox/all-older
Close Firefox 5.
You could install Firefox 3.6 over it (many have reported success) or you could uninstall Firefox first. If you uninstall, do not remove your personal data and settings, just the program.
Unless you have installed an incompatible add-on, Firefox 3.6 should pick up where you left off. If there are serious issues, please post back with details.
Note: I haven't actually tried this myself! -
Strange Behaviour into Runtime Workbench
Hi all,
I have a question for us.
Into our system PI 7.1 we have a strange behaviour in Runtime Workbench - Message Monitoring.
When I choose for the fiel "FROM" the value "Database" I obtain the list of software component that I find the value "Integration Server".
But when I choose the value "Database (Overview)" the value "Integration Server" into list of software component doesn't exist.
Why Do the system have this behaviour?
best regards,
Davide BrunoHey,
The old way of seeing msg use - the db option... In Pi 71 the db overiew options gives you an aggregated view of ur messages. this is very helpful in tracking repeated failures, anylysing the types of failures etc...The "strange" view is actually a pretty neat tool... We used to do this in excel sheets after dowloading the report from sxmb_moni..
regards,
Arvind R -
Strange behaviour - any ideas?
Strange behaviour began when i was unable to open a new page in photoshop.
The next day i was unable to print from word or photoshop or emails.
However i could print from freehand and excel!
I used disk 1 to verify and repair disk.
this did not solve the problem as then when i tried to open Safari the toolbar opened but no window.
I have reinstalled the operating system making an archive but this also has not had an effect.
Any ideas on what to do next or should I just reinstall the operating system over the old one?
many thanks 4 any helpSarah, to help the knowlegable users here please advise which model G5 iMac you have & include this info in your system info preference by clicking on the "My Settings" link in the right hand column.-->
This way, you won't have to keep repeating yourself and the knowlegable users will be able to provide you with the correct trouble shooting information/solutions if the problem is your computer.
Also, it will be helpful if you will advise which version of Word, Photoshop you have, which email program & the type of printer you are using.
Thank you. -
Strange behaviour on text insert into a HTML pane
Hi all,
I am trying to fix a problem on inserting a span tag into an existing html page (in an EDITABLE JEditorPane).
The behaviour:
Assuming the cells in a table (3 rows, 2 columns) are numbered from 1 to 6, with cell one being the top left most, cell 2 top right, cell 3 middle left, etc.
1. Inserting the text "<span></span>" in cell 4 causes during any attempt to later type into cell 5 the characters to be appended instead into cell 4, directly after the close span tag.
2. The insertion in the first place behaves strange. If I have the caret positioned for cell 5 so that I can insert there
(via the function void javax.swing.text.html.HTMLEditorKit.insertHTML(HTML Document doc, int offset, String html, int popDepth, int pushDepth, Tag insertTag) )
even though the caret position is visible in cell 5, the insertion seems to take place in cell 4.
I can sort of compensate for this by adding 1 to the offset. However, then when inserting into a line of text, for example, "the quick red fox jumped over the lazy dog"
I insert directly before the 'j' in 'jumped', the insertion looks like this "the quick red fox j<span>..</span>umped over the lazy dog"
So that is no solution.
IMPORTANT! Just to prove it is not the span tag causing the trouble, if this span tag already exists in a cell on 'Load' of the html file, the strange behaviour is not observed.
Something is going wrong here. It is me? Or is it a bug?
Please help!!
Here is a test app, and the test html you can use (place in current directory).
Please test like this:
1. run application (the html should be loaded into the pane)
2. the span tag is programmed to automatically insert at cell 4 (by using the +1 method on the insert)
3. another span tag was already existing in the html file, at cell 8
4. Attempt to type into cell 5
result: the text appears instead at cell 4
5. Type into cell 9
result: the text correctly is entered into cell 9
See the difference!!
Help!
The test java app:
package small.test;
import java.awt.BorderLayout;
import java.awt.Container;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.StringReader;
import javax.swing.JEditorPane;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.SwingUtilities;
import javax.swing.text.JTextComponent;
import javax.swing.text.html.HTML;
import javax.swing.text.html.HTMLDocument;
import javax.swing.text.html.HTMLEditorKit;
import javax.swing.text.html.parser.ParserDelegator;
public class HtmlInsertTest extends JEditorPane
public HtmlInsertTest()
public static void main(String args[])
JFrame frame = new JFrame("Loading/Saving Example");
Container content = frame.getContentPane();
frame.setSize(600, 600);
final HtmlInsertTest editorPane = new HtmlInsertTest();
editorPane.setEditable(true);
JScrollPane scrollPane = new JScrollPane(editorPane);
content.add(scrollPane, BorderLayout.CENTER);
editorPane.setEditorKit(new HTMLEditorKit());
JPanel panel = new JPanel();
content.add(panel, BorderLayout.SOUTH);
frame.setSize(600, 600);
doLoadCommand(editorPane);
editorPane.insertHTML("<span>inserted text</span>", 84);
frame.setVisible(true);
public static String getHTML()
return
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">"+
"<HTML>"+ "<HEAD>"+
" <META HTTP-EQUIV=\"CONTENT-TYPE\" CONTENT=\"text/html; charset=utf-8\">"+
" <TITLE></TITLE>"+
"</HEAD>"+
"<BODY LANG=\"en-AU\" DIR=\"LTR\">"+
"<P STYLE=\"margin-bottom: 0cm\">This is a test xhtml document. "+
" </P>"+
" <P STYLE=\"margin-bottom: 0cm\">"+
" </P>"+
" <P STYLE=\"margin-bottom: 0cm\">Here is a table:</P>"+
" <P STYLE=\"margin-bottom: 0cm\">"+
" </P>"+
" <p></p>"+
" <TABLE WIDTH=100% BORDER=1 BORDERCOLOR=\"#000000\" CELLPADDING=4 CELLSPACING=0>"+
" <TR VALIGN=TOP>"+
" <TD WIDTH=50%>"+
" <P>It has</P>"+
" </TD>"+
" <TD WIDTH=50%>"+
" <P>2 columns</P>"+
" </TD>"+
" </TR>"+
" <TR VALIGN=TOP>"+
" <TD WIDTH=50%><P>And 4 rows</P></TD>"+
" <TD WIDTH=50%><P></P></TD>"+
" </TR>"+
" <TR VALIGN=TOP>"+
" <TD WIDTH=50%><P></P></TD>"+
" <TD WIDTH=50%><P></P></TD>"+
" </TR>"+
" <TR VALIGN=TOP>"+
" <TD WIDTH=50%><P></P></TD>"+
" <TD WIDTH=50%><P><span>existing text</span></P></TD>"+
" </TR>"+
" <TR VALIGN=TOP>"+
" <TD WIDTH=50%><P></P></TD>"+
" <TD WIDTH=50%><P></P></TD>"+
" </TR>"+
" </TABLE>"+
" <P STYLE=\"margin-bottom: 0cm\">"+
" </P>"+
" <P STYLE=\"margin-bottom: 0cm\">"+
" </P>"+
" <P STYLE=\"margin-bottom: 0cm\">"+
" </P>"+
" <P STYLE=\"margin-bottom: 0cm\">We will test the drag and drop"+
" functionality with this document. "+
" </P>"+
" <P STYLE=\"margin-bottom: 0cm\">It will be loaded with the hlml editor.</P>"+
" <P STYLE=\"margin-bottom: 0cm\">"+
" </P>"+
" <P STYLE=\"margin-bottom: 0cm\">"+
" </P>"+
" </BODY>"+
" </HTML>";
public static void doLoadCommand(JTextComponent textComponent)
StringReader reader = null;
try
System.out.println("Loading");
reader = new StringReader(getHTML());
// Create empty HTMLDocument to read into
HTMLEditorKit htmlKit = new HTMLEditorKit();
HTMLDocument htmlDoc = (HTMLDocument)htmlKit.createDefaultDocument();
// Create parser (javax.swing.text.html.parser.ParserDelegator)
HTMLEditorKit.Parser parser = new ParserDelegator();
// Get parser callback from document
HTMLEditorKit.ParserCallback callback = htmlDoc.getReader(0);
// Load it (true means to ignore character set)
parser.parse(reader, callback, true);
// Replace document
textComponent.setDocument(htmlDoc);
System.out.println("Loaded");
catch (Exception exception)
System.out.println("Load oops");
exception.printStackTrace();
finally
if (reader != null)
reader.close();
public void insertHTML(String text, int offset)
SwingUtilities.invokeLater(new insertAction(this, text, offset));
class insertAction implements Runnable
String text = "";
int offset = 0;
JEditorPane jEditorPane1 = null;
public insertAction(JEditorPane _jEditorPane1, String _text, int _offset)
jEditorPane1 = _jEditorPane1;
text = _text;
offset = _offset;
@Override
public void run()
HTMLDocument doc = (HTMLDocument)jEditorPane1.getDocument();
HTMLEditorKit kit = (HTMLEditorKit)jEditorPane1.getEditorKit();
try
System.out.println("reading from string reader");
kit.insertHTML( doc,
offset,//+1
text,
0,//0
0,//0
HTML.Tag.SPAN);
System.out.println(jEditorPane1.getText());
catch (Exception e)
System.out.println("error inserting html: " + e);
}Edited by: svaens on Jul 16, 2009 6:34 PM
fix another stuffed up attempt at a SSCCE.Well, I know nothing about HTML in JEditorPanes. I have never been able to figure out how insertions work.
My comment was a warning to others. Some people (like me) avoid answering posting of this type for reasons given in the JavaRanch link. Others will answer anyway. Other might first check the other site to see if they are wasting there time, but they can only do that if a link was posted with the original question.
The only suggestion I have is to repost the question, (since this posting is now completely off topic) making sure to then respond to this posting stating that a fresh question has been asked so you don't get a discussion going on in two places. -
Nokia C3-01 -strange behaviour/ problems with Noki...
When I was choosing my new mobile, I had two options : Samsung Wave 533 and Nokia C3-01. After a lot of hesitance I decided to pick up Nokia, believing to its high quality despite its poor media potential. However, now I think that it was a bad idea.
Firstly, I have never thought that Touch and Type won't have ability to adjust brightness of the screen (AWFUL IN THE NIGHT), set up more then one alarm and use many of JAVA applications. When I tried to install some applications, it said- out of memory. Out of memory?! My old SE K770i could much more! What annoys me the most is that I can't use my e-mail account via Nokia Mail. When I press the icon of it , there is an error Null pointer exception and applications shuts. Other strange behaviour- while I was typing sms , suddenly there was hard, long vibration, screen went white and mobile restarted. Other users of C3-01, check this: go to messages, then other messages , then direct , start typing and try to go back to menu- screen turns white, mobile restarts (I'm polish , so names may be a little bit different) . How on earth, can mobile restart so often?.
, Secondly,the funniest one- Ovi shop. Important thing in every Nokia. Guess what- I can't use it! When I to launch the apllication and try to go to the shop, there is information that it's not avaible for my phone. I used it a week ago and worked properly.
All in all, I hope that Nokia will share an update of software to this model. I am just so disappointed. What I am sure about that next mobile will not be from finnish enterprise.
Solved!
Go to Solution.Sorry Brother, Your Device is totally misfunctioned and FAULTY, You Need to go back to Nokia Care Centre and GET IT REPLACED.
Your Device is faulty.
Please Dont Blame Nokia Or the C3-01 Device Because both are QUALITY PRODUCTS.
I have C3-01 Since 4 Months Now and I havent Had a Single Complain about my device even though I am a Rough Handler and Using the Mobile Upto its Extend.
You Have 2 options, Try To Fix your Device at Home By :
Soft reset your Nokia C3-01 Touch and Type you need to press *#7780# and then Dial. The security code is 12345. Once you complete this, your phone will come back to factory settings, but you will not loose personal data. Anyway it is recommended to make a backup before performing any of the mentioned procedures.
To hard reset your Nokia C3-01 Touch and Type you just have to press *#7370# and press Dial. The phone will request the security code that is by default 12345. Please be aware that you will loose all the data in your phone, so you should backup all relevant information.
If Problem still persist then Connect to PC Suite/Ovi Suite and Reinstall the Firmware.
BUT U NEED YOUR DEVICE TO BE UPDATED TO ITS LATEST FIRMWARE = v06.05
If still not fixed then, REPLACE YOUR DEVICE ASAP, because as given by Nokia, C3-01 Device Works according to its Specification as Specified.
If I've helped in any way, a click upon the White star to the left would always be appreciated.
If however my answer also solves your problem clicking below " ACCEPT AS SOLUTION " it will benefit other users!
Maybe you are looking for
-
how can I print just a part of the page and not the full page with Adobe Reader v 10.1.2? I need to print a engineering print with lot of information but information is too small in letter size and I don't have a plotter.
-
How to open and close an App on my ipad from my mac?
Hi, Just like the question in the title. I have my iPad connected to my mac mini, and I want to open/close an app from my mac mini. Is there any existing tool that I can use for this purpose? Thanks for the answer.
-
Will someone help me open a cisco swf file
I am trying to open a cisco swf file on my xp computer.I initially downloaded "IrFanView" which was a program internet explorer told me to download so I could open it. I downloaded the aforementioned program and when I try to open the file I get on t
-
Re: How to download Acrobat XI included with a Acrobat subscription.
Can someone please help? I have a serial number from my purchase but cannot locate the English version! UGH!
-
I want gl acc no with refrence of month(1 to 12)
hi experts. i want gl acc no with refrence of month (if i give op like 1 to 2 month gl acc no is also change.) i crated a report like selection screen gl acc no,com code ,chars of acc, fiscal year ,fiscal period. op gl acc no, disc , credi, debit. my